Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r69903:6ad4610e8d57
Date: 2014-03-12 17:35 +0100
http://bitbucket.org/pypy/pypy/changeset/6ad4610e8d57/

Log:    comment

diff --git a/rpython/translator/c/genc.py b/rpython/translator/c/genc.py
--- a/rpython/translator/c/genc.py
+++ b/rpython/translator/c/genc.py
@@ -857,6 +857,9 @@
     print >> f, '#include "forwarddecl.h"'
     print >> f
     print >> f, 'object_t *rpy_prebuilt[] = {'
+    # XXX should ideally only list objects that are directly referenced
+    # from C code *or* that need a custom hash.  This would reduce a lot
+    # the length of the lists.
     gclist = [(node.globalgcnum, node) for node in database.globalcontainers()
               if hasattr(node, 'globalgcnum') and node.globalgcnum >= 0]
     gclist.sort()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to