Author: Stefano Rivera <[email protected]>
Branch: py3k
Changeset: r75202:c6a414eebbc5
Date: 2015-01-01 18:03 -0800
http://bitbucket.org/pypy/pypy/changeset/c6a414eebbc5/

Log:    Remove Range-List optimaziton documentation. It isn't available in
        py3k

diff --git a/pypy/doc/interpreter-optimizations.rst 
b/pypy/doc/interpreter-optimizations.rst
--- a/pypy/doc/interpreter-optimizations.rst
+++ b/pypy/doc/interpreter-optimizations.rst
@@ -99,25 +99,6 @@
 with the :config:`objspace.std.withmapdict` option.
 
 
-List Optimizations
-~~~~~~~~~~~~~~~~~~
-
-Range-Lists
-+++++++++++
-
-Range-lists solve the same problem that the ``xrange`` builtin solves poorly:
-the problem that ``range`` allocates memory even if the resulting list is only
-ever used for iterating over it. Range lists are a different implementation for
-lists. They are created only as a result of a call to ``range``. As long as the
-resulting list is used without being mutated, the list stores only the start, 
stop
-and step of the range. Only when somebody mutates the list the actual list is
-created. This gives the memory and speed behaviour of ``xrange`` and the 
generality
-of use of ``range``, and makes ``xrange`` essentially useless.
-
-You can enable this feature with the :config:`objspace.std.withrangelist`
-option.
-
-
 User Class Optimizations
 ~~~~~~~~~~~~~~~~~~~~~~~~
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to