[pypy-svn] r70971 - pypy/trunk/pypy/module/_sre

arigo at codespeak.net arigo at codespeak.net
Fri Jan 29 15:32:11 CET 2010


Author: arigo
Date: Fri Jan 29 15:32:11 2010
New Revision: 70971

Modified:
   pypy/trunk/pypy/module/_sre/interp_sre.py
Log:
I finally measured this.  It gives a 2x speed-up :-/
for a cost in size that is minor.


Modified: pypy/trunk/pypy/module/_sre/interp_sre.py
==============================================================================
--- pypy/trunk/pypy/module/_sre/interp_sre.py	(original)
+++ pypy/trunk/pypy/module/_sre/interp_sre.py	Fri Jan 29 15:32:11 2010
@@ -14,7 +14,7 @@
 # * THREE_VERSIONS_OF_CORE=False: there is only one copy of the code,
 #   at the cost of an indirect method call to fetch each character.
 
-THREE_VERSIONS_OF_CORE = False
+THREE_VERSIONS_OF_CORE = True
 
 
 #### Constants and exposed functions



More information about the Pypy-commit mailing list