[pypy-commit] pypy default: allow inlining into _codecs, makes simple decoding ~3x faster

alex_gaynor noreply at buildbot.pypy.org
Mon Jan 16 18:16:24 CET 2012


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r51357:af6b237eaecf
Date: 2012-01-16 18:15 +0100
http://bitbucket.org/pypy/pypy/changeset/af6b237eaecf/

Log:	allow inlining into _codecs, makes simple decoding ~3x faster

diff --git a/pypy/module/pypyjit/policy.py b/pypy/module/pypyjit/policy.py
--- a/pypy/module/pypyjit/policy.py
+++ b/pypy/module/pypyjit/policy.py
@@ -127,7 +127,7 @@
                        'imp', 'sys', 'array', '_ffi', 'itertools', 'operator',
                        'posix', '_socket', '_sre', '_lsprof', '_weakref',
                        '__pypy__', 'cStringIO', '_collections', 'struct',
-                       'mmap', 'marshal']:
+                       'mmap', 'marshal', '_codecs']:
             if modname == 'pypyjit' and 'interp_resop' in rest:
                 return False
             return True


More information about the pypy-commit mailing list