Author: Armin Rigo <[email protected]>
Branch: stringbuilder-perf
Changeset: r72049:85bec5137c7b
Date: 2014-06-15 11:22 +0200
http://bitbucket.org/pypy/pypy/changeset/85bec5137c7b/

Log:    Add a comment

diff --git a/rpython/rtyper/lltypesystem/rbuilder.py 
b/rpython/rtyper/lltypesystem/rbuilder.py
--- a/rpython/rtyper/lltypesystem/rbuilder.py
+++ b/rpython/rtyper/lltypesystem/rbuilder.py
@@ -35,6 +35,11 @@
 # need a way to express c_memcpy() below --- similar to copystrcontent,
 # but without the assumption that it's about a string (or unicode).
 #
+# XXX alternatively, a simpler solution might be to allocate all pieces
+# as GC-managed rstr.STR.  To avoid filling the old generation with
+# garbage we could add a weakref holding the most recently built chain
+# of STRs, and reuse it the next time if it's still there.
+#
 # ------------------------------------------------------------
 
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to