Message227605
Here is an incremental patch that adds fast paths for adding and subtracting 0.
Question: the module calls long_long() in some places (e.g. long_abs()) and thus forces the return type to be exactly a PyLong and not a subtype. My changes use a plain "incref+return input value" in some places. Should they call long_long() on it instead? |
|
Date |
User |
Action |
Args |
2014-09-26 10:57:27 | scoder | set | recipients:
+ scoder, mark.dickinson, pitrou, vstinner, serhiy.storchaka |
2014-09-26 10:57:27 | scoder | set | messageid: <1411729047.39.0.0647147756114.issue22501@psf.upfronthosting.co.za> |
2014-09-26 10:57:27 | scoder | link | issue22501 messages |
2014-09-26 10:57:27 | scoder | create | |
|