Message242063
Gah! Peephole optimizer! When you do a timeit for '3.14 ** 0.5', you're just evaluating the time to retrieve a constant!
In general, `**` is going to be both slower *and* less accurate than math.sqrt. Please don't make this change! |
|
Date |
User |
Action |
Args |
2015-04-26 17:26:38 | mark.dickinson | set | recipients:
+ mark.dickinson, tim.peters, rhettinger, serhiy.storchaka |
2015-04-26 17:26:38 | mark.dickinson | set | messageid: <1430069198.06.0.283207213115.issue24059@psf.upfronthosting.co.za> |
2015-04-26 17:26:38 | mark.dickinson | link | issue24059 messages |
2015-04-26 17:26:38 | mark.dickinson | create | |
|