[pypy-commit] pypy inline-identityhash: always inline that guy

fijal noreply at buildbot.pypy.org
Mon Jul 1 19:03:56 CEST 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: inline-identityhash
Changeset: r65147:e5c447a98e83
Date: 2013-07-01 19:03 +0200
http://bitbucket.org/pypy/pypy/changeset/e5c447a98e83/

Log:	always inline that guy

diff --git a/rpython/memory/gc/minimark.py b/rpython/memory/gc/minimark.py
--- a/rpython/memory/gc/minimark.py
+++ b/rpython/memory/gc/minimark.py
@@ -1892,6 +1892,7 @@
         if is_hash:
             i = mangle_hash(i)
         return i
+    id_or_identityhash._always_inline_ = True
 
     def id(self, gcobj):
         return self.id_or_identityhash(gcobj, False)


More information about the pypy-commit mailing list