This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients barry, ethan.furman, gvanrossum, methane, rhettinger, serhiy.storchaka, vstinner
Date 2017-10-04.15:52:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
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?
History
Date User Action Args
2017-10-04 15:52:33ethan.furmansetrecipients: + ethan.furman, gvanrossum, barry, rhettinger, vstinner, methane, serhiy.storchaka
2017-10-04 15:52:33ethan.furmansetmessageid: <[email protected]>
2017-10-04 15:52:33ethan.furmanlinkissue31671 messages
2017-10-04 15:52:32ethan.furmancreate