Message265366
Proposed patch makes float.fromhex() faster for exact float.
$ ./python -m timeit -s "h = float.hex(1.23)" -- "float.fromhex(h)"
Unpatched: 1000000 loops, best of 3: 0.886 usec per loop
Patched: 1000000 loops, best of 3: 0.519 usec per loop |
|
| Date |
User |
Action |
Args |
| 2016-05-12 06:48:22 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson |
| 2016-05-12 06:48:22 | serhiy.storchaka | set | messageid: <1463035702.18.0.00292240428989.issue27005@psf.upfronthosting.co.za> |
| 2016-05-12 06:48:21 | serhiy.storchaka | link | issue27005 messages |
| 2016-05-12 06:48:21 | serhiy.storchaka | create | |
|