[Python-Dev] Investigating time for import requests
(original) (raw)
Antoine Pitrou solipsis at pitrou.net
Mon Oct 2 16:57:02 EDT 2017
- Previous message (by thread): [Python-Dev] Investigating time for `import requests`
- Next message (by thread): [Python-Dev] Investigating time for `import requests`
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 2 Oct 2017 11:15:35 -0400 Barry Warsaw <barry at python.org> wrote:
I think there are opportunities for an explicit API for lazy compilation of regular expressions, but I’m skeptical of the adoption curve making it worthwhile. But maybe I’m wrong!
We already have two caching schemes available in the re module: one explicit and eager with re.compile(), one implicit and lazy with re.search() and friends. I doubt we really need a third one :-)
Regards
Antoine.
- Previous message (by thread): [Python-Dev] Investigating time for `import requests`
- Next message (by thread): [Python-Dev] Investigating time for `import requests`
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]