[pypy-svn] r63064 - pypy/branch/pyjitpl5/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Thu Mar 19 11:43:26 CET 2009


Author: arigo
Date: Thu Mar 19 11:43:24 2009
New Revision: 63064

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py
Log:
Add an XXX.


Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize.py	Thu Mar 19 11:43:24 2009
@@ -781,6 +781,8 @@
 
     def cleanup_field_caches(self, newoperations):
         # we need to invalidate everything
+        # XXX looping over self.nodes on each side-effecting operation
+        # XXX costs too much (quadratic time)
         for node in self.nodes.values():
             for ofs, valuenode in node.dirtyfields.items():
                 # XXX move to InstanceNode eventually



More information about the Pypy-commit mailing list