[pypy-svn] r71312 - pypy/branch/string-promote/pypy/objspace/std
fijal at codespeak.net
fijal at codespeak.net
Thu Feb 18 22:38:11 CET 2010
Author: fijal
Date: Thu Feb 18 22:38:10 2010
New Revision: 71312
Modified:
pypy/branch/string-promote/pypy/objspace/std/sharingdict.py
Log:
another issue of string promotion
Modified: pypy/branch/string-promote/pypy/objspace/std/sharingdict.py
==============================================================================
--- pypy/branch/string-promote/pypy/objspace/std/sharingdict.py (original)
+++ pypy/branch/string-promote/pypy/objspace/std/sharingdict.py Thu Feb 18 22:38:10 2010
@@ -1,6 +1,6 @@
from pypy.objspace.std.dictmultiobject import IteratorImplementation
from pypy.objspace.std.dictmultiobject import W_DictMultiObject, _is_sane_hash
-from pypy.rlib.jit import purefunction_promote, hint, we_are_jitted, unroll_safe
+from pypy.rlib.jit import purefunction_promote, we_are_jitted, unroll_safe
from pypy.rlib.rweakref import RWeakValueDictionary
NUM_DIGITS = 4
@@ -32,7 +32,7 @@
self.other_structs.set(added_key, new_structure)
return new_structure
- @purefunction_promote
+ @purefunction
def lookup_position(self, key):
return self.keys.get(key, -1)
More information about the Pypy-commit
mailing list