Message227570
Now I spent more time on the patch. Changes in updated patch:
* Removed code duplication for odd and even k.
* Temporary buffers c and d no longer allocated on every iteration.
* Long result now compacted. No longer unused allocated size.
* Added checks for results of long_abs() (it can fail).
* Merged _PyLong_GCD and long_gcd. Fast path for small negative integers no longer need to copy long objects in long_abs().
* Added tests for large negative numbers and for case Py_SIZE(a) - Py_SIZE(b) > 3. |
|
Date |
User |
Action |
Args |
2014-09-25 20:13:12 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, pitrou, scoder, wolma, gladman |
2014-09-25 20:13:12 | serhiy.storchaka | link | issue22486 messages |
2014-09-25 20:13:12 | serhiy.storchaka | create | |
|