Message303706
IntFlag.__and__ does not create a new instance every time -- all new instances are cached in the IntFlag machinery (so RegexFlag(7) is only created once).
If all the RegexFlag combinations are created before the regex compile benchmark do we still see a speed-up? |
|
Date |
User |
Action |
Args |
2017-10-04 15:52:33 | ethan.furman | set | recipients:
+ ethan.furman, gvanrossum, barry, rhettinger, vstinner, methane, serhiy.storchaka |
2017-10-04 15:52:33 | ethan.furman | set | messageid: <1507132353.01.0.213398074469.issue31671@psf.upfronthosting.co.za> |
2017-10-04 15:52:33 | ethan.furman | link | issue31671 messages |
2017-10-04 15:52:32 | ethan.furman | create | |
|