Author belopolsky
Recipients bdkearns, belopolsky, benjamin.peterson, mark.dickinson, serhiy.storchaka
Date 2015-02-26.23:27:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424993226.75.0.327154390569.issue23521@psf.upfronthosting.co.za>
In-reply-to
Content
We can further optimize _divide_and_round by changing r*=2 to r<<=1 and q % 2 == 1 to (q & 1), but this will obfuscate the algorithm and limit arguments to ints.  (As written, _divide_and_round will work with any numeric types.)
History
Date User Action Args
2015-02-26 23:27:06belopolskysetrecipients: + belopolsky, mark.dickinson, benjamin.peterson, serhiy.storchaka, bdkearns
2015-02-26 23:27:06belopolskysetmessageid: <1424993226.75.0.327154390569.issue23521@psf.upfronthosting.co.za>
2015-02-26 23:27:06belopolskylinkissue23521 messages
2015-02-26 23:27:06belopolskycreate