[pypy-commit] pypy default: Allow the JIT to inline into posix. These are mostly wrappers around low level functions, and it's silly to force the caches to be cleared because of those calls, as well as the extra wrapping/allocation of W_ objects.

alex_gaynor noreply at buildbot.pypy.org
Fri May 13 04:06:11 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r44113:2cf2bc2ec94a
Date: 2011-05-12 22:14 -0400
http://bitbucket.org/pypy/pypy/changeset/2cf2bc2ec94a/

Log:	Allow the JIT to inline into posix. These are mostly wrappers around
	low level functions, and it's silly to force the caches to be
	cleared because of those calls, as well as the extra
	wrapping/allocation of W_ objects.

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
@@ -14,7 +14,7 @@
             modname, _ = modname.split('.', 1)
         if modname in ['pypyjit', 'signal', 'micronumpy', 'math', 'exceptions',
                        'imp', 'sys', 'array', '_ffi', 'itertools', 'operator',
-                       '_socket', '_sre', '_lsprof']:
+                       'posix', '_socket', '_sre', '_lsprof']:
             return True
         return False
 


More information about the pypy-commit mailing list