Message292514
After reverting some changes (import heapq on Raymond's request and import gettext since it is needed for the ArgumentParser constructor) the effect of the patch is reducing the number of imports by 6 and the time by 0.017 sec (> 10%) on my computer.
$ time for i in `seq 100`; do ./python -S -c 'import argparse; argparse.ArgumentParser()'; done
Unpatched:
real 0m13.236s
user 0m12.100s
sys 0m0.808s
Patched:
real 0m11.535s
user 0m10.356s
sys 0m0.756s |
|
Date |
User |
Action |
Args |
2017-04-28 06:05:21 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, pitrou, bethard, vstinner, christian.heimes, berker.peksag, paul.j3, wolma, yan12125 |
2017-04-28 06:05:21 | serhiy.storchaka | set | messageid: <1493359521.26.0.535764081653.issue30152@psf.upfronthosting.co.za> |
2017-04-28 06:05:21 | serhiy.storchaka | link | issue30152 messages |
2017-04-28 06:05:20 | serhiy.storchaka | create | |
|