[pypy-svn] r45153 - pypy/dist/pypy/objspace/flow

arigo at codespeak.net arigo at codespeak.net
Tue Jul 17 10:55:22 CEST 2007


Author: arigo
Date: Tue Jul 17 10:55:21 2007
New Revision: 45153

Modified:
   pypy/dist/pypy/objspace/flow/objspace.py
Log:
Fix a major performance issue with a clean quick hack.


Modified: pypy/dist/pypy/objspace/flow/objspace.py
==============================================================================
--- pypy/dist/pypy/objspace/flow/objspace.py	(original)
+++ pypy/dist/pypy/objspace/flow/objspace.py	Tue Jul 17 10:55:21 2007
@@ -184,6 +184,11 @@
     def getexecutioncontext(self):
         return getattr(self, 'executioncontext', None)
 
+    def createcompiler(self):
+        # no parser/compiler needed - don't build one, it takes too much time
+        # because it is done each time a FlowExecutionContext is built
+        return None
+
     def setup_executioncontext(self, ec):
         self.executioncontext = ec
         from pypy.objspace.flow import specialcase



More information about the Pypy-commit mailing list