Author: Antonio Cuni <anto.c...@gmail.com>
Branch: faster-rstruct
Changeset: r80935:4dfc49434925
Date: 2015-11-25 11:19 +0100
http://bitbucket.org/pypy/pypy/changeset/4dfc49434925/

Log:    pro-actively fix test_whatsnews

diff --git a/pypy/doc/whatsnew-head.rst b/pypy/doc/whatsnew-head.rst
--- a/pypy/doc/whatsnew-head.rst
+++ b/pypy/doc/whatsnew-head.rst
@@ -22,3 +22,10 @@
 
 Fix issue #2193. ``isinstance(..., int)`` => ``isinstance(..., 
numbers.Integral)`` 
 to allow for alternate ``int``-like implementations (e.g., 
``future.types.newint``)
+
+.. branch: faster-rstruct
+
+Improve the performace of struct.unpack, which now directly reads inside the
+string buffer and directly casts the bytes to the appropriate type, when
+allowed. Unpacking of floats and doubles is about 15 times faster now, while
+for integer types it's up to ~50% faster for 64bit integers.
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to