[Python-Dev] Investigating time for `import requests`
tjreedy at udel.edu
Mon Oct 2 14:01:35 EDT 2017
On 10/2/2017 4:57 AM, Paul Moore wrote:
> In practice, I don't think the fact that re.search() et al cache the
> compiled expressions is that well known (it's mentioned in the
> re.compile docs, but not in the re.search docs)
We could add redundant mentions in the functions ;-).
> and so people often compile up front because they think it helps,
> rather than actually measuring to check.
Terry Jan Reedy
More information about the Python-Dev