[pypy-commit] pypy default: Explain the step-one-xrange branch

hakanardo noreply at buildbot.pypy.org
Wed May 16 08:23:30 CEST 2012


Author: Hakan Ardo <hakan at debian.org>
Branch: 
Changeset: r55113:c541bb30bb6b
Date: 2012-05-16 08:22 +0200
http://bitbucket.org/pypy/pypy/changeset/c541bb30bb6b/

Log:	Explain the step-one-xrange branch

diff --git a/pypy/doc/whatsnew-1.9.rst b/pypy/doc/whatsnew-1.9.rst
--- a/pypy/doc/whatsnew-1.9.rst
+++ b/pypy/doc/whatsnew-1.9.rst
@@ -50,6 +50,9 @@
 The directory "lib-python/modified-2.7" has been removed, and its
 content merged into "lib-python/2.7".
 .. branch: step-one-xrange
+The common case of a xrange iterator with no step argument specifed
+was somewhat optimized. The tightest loop involving it,
+sum(xrange(n)), is now 18% faster on average.
 .. branch: string-NUL
 PyPy refuses filenames with chr(0) characters. This is implemented in
 RPython which can enforce no-NUL correctness and propagation, similar


More information about the pypy-commit mailing list