[Python-ideas] No need to add a regex pattern literal

Antoine Pitrou antoine at python.org
Mon Dec 31 06:47:10 EST 2018

Le 31/12/2018 à 12:31, M.-A. Lemburg a écrit :
> We already have re.search() and re.match() which deal with compilation
> on-the-fly and caching. Perhaps the documentation should hint at this
> more explicitly...

The complaint is that the global cache is still too costly.
See measurements in https://bugs.python.org/issue35559



More information about the Python-ideas mailing list