[pypy-svn] r38013 - pypy/dist/pypy/doc/config

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Feb 6 17:04:24 CET 2007


Author: cfbolz
Date: Tue Feb  6 17:04:23 2007
New Revision: 38013

Added:
   pypy/dist/pypy/doc/config/objspace.std.withfastslice.txt
   pypy/dist/pypy/doc/config/objspace.std.withmultilist.txt
Log:
oops, add help files for the new options


Added: pypy/dist/pypy/doc/config/objspace.std.withfastslice.txt
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/doc/config/objspace.std.withfastslice.txt	Tue Feb  6 17:04:23 2007
@@ -0,0 +1,5 @@
+A variant of multilists_ that makes list slicing copy the list lazily (that is
+only when the original list or the slice are mutated.
+
+
+.. _multilists: objspace.std.withmultilist.html

Added: pypy/dist/pypy/doc/config/objspace.std.withmultilist.txt
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/doc/config/objspace.std.withmultilist.txt	Tue Feb  6 17:04:23 2007
@@ -0,0 +1,11 @@
+This enables "multilists". They are a different implementation of the Python
+``list`` type, indistinguishable for the normal user (when using multilists, the
+normal implementation is not used at all). When the multilist implementation is
+used, a list can change its internal representation over its lifetime. If a list
+contains only strings, for example, the strings are stored directly without
+their wrapper (which gives a memory benefit on large lists).
+
+Another special representation of lists that multilists support is the "range
+list", which is basically equivalent to what `objspace.std.withrangelist`_ does.
+
+.. _`objspace.std.withrangelist`: objspace.std.withrangelist.html



More information about the Pypy-commit mailing list