[pypy-svn] r52227 - pypy/branch/jit-refactoring/pypy/jit/rainbow

arigo at codespeak.net arigo at codespeak.net
Thu Mar 6 19:05:59 CET 2008


Author: arigo
Date: Thu Mar  6 19:05:59 2008
New Revision: 52227

Modified:
   pypy/branch/jit-refactoring/pypy/jit/rainbow/interpreter.py
Log:
Comment.


Modified: pypy/branch/jit-refactoring/pypy/jit/rainbow/interpreter.py
==============================================================================
--- pypy/branch/jit-refactoring/pypy/jit/rainbow/interpreter.py	(original)
+++ pypy/branch/jit-refactoring/pypy/jit/rainbow/interpreter.py	Thu Mar  6 19:05:59 2008
@@ -25,6 +25,13 @@
                  promotiondescs, called_bytecodes, num_mergepoints,
                  graph_color, calldescs, metacalldescs,
                  indirectcalldescs, is_portal):
+        # XXX quite a lot of lists of descs here...  We should at least
+        # try to share the empty lists between the numberous prebuilt
+        # JitCode instances.  A better approach memory-wise could be
+        # to have a single list of descs and use 'assert isinstance'
+        # checks; or move these lists to the Interpreter class and
+        # do something about the fact that some of these lists could
+        # then have more than 65536 items.
         self.name = name
         self.code = code
         self.constants = constants



More information about the Pypy-commit mailing list