[pypy-svn] r68207 - pypy/trunk/pypy/jit/metainterp

pedronis at codespeak.net pedronis at codespeak.net
Tue Oct 6 16:36:19 CEST 2009


Author: pedronis
Date: Tue Oct  6 16:36:18 2009
New Revision: 68207

Modified:
   pypy/trunk/pypy/jit/metainterp/optimizeopt.py
Log:
add a comment


Modified: pypy/trunk/pypy/jit/metainterp/optimizeopt.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/optimizeopt.py	(original)
+++ pypy/trunk/pypy/jit/metainterp/optimizeopt.py	Tue Oct  6 16:36:18 2009
@@ -202,6 +202,7 @@
         return self.box
 
     def _get_field_descr_list(self):
+        # this shares only per instance and not per type, but better than nothing
         _cached_sorted_fields = self._cached_sorted_fields
         if (_cached_sorted_fields is not None and
             len(self._fields) == len(_cached_sorted_fields)):



More information about the Pypy-commit mailing list