[pypy-commit] pypy cpyext-faster-arg-passing: document branch

cfbolz pypy.commits at gmail.com
Tue Jan 30 08:31:31 EST 2018


Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: cpyext-faster-arg-passing
Changeset: r93724:627a1425607c
Date: 2018-01-30 14:30 +0100
http://bitbucket.org/pypy/pypy/changeset/627a1425607c/

Log:	document branch

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
@@ -23,3 +23,11 @@
 added, then the performance using mapdict is linear in the number of
 attributes. This is now fixed (by switching to a regular dict after 80
 attributes).
+
+
+.. branch: cpyext-faster-arg-passing
+
+When using cpyext, improve the speed of passing certain objects from PyPy to C
+code, most notably None, True, False, types, all instances of C-defined types.
+Before, a dict lookup was needed every time such an object crossed over, now it
+is just a field read.


More information about the pypy-commit mailing list