[pypy-svn] r32737 - pypy/dist/pypy/objspace/std

cfbolz at codespeak.net cfbolz at codespeak.net
Fri Sep 29 14:16:06 CEST 2006


Author: cfbolz
Date: Fri Sep 29 14:16:06 2006
New Revision: 32737

Modified:
   pypy/dist/pypy/objspace/std/longobject.py
Log:
make binary bitwise operations of longs marginally faster.


Modified: pypy/dist/pypy/objspace/std/longobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/longobject.py	(original)
+++ pypy/dist/pypy/objspace/std/longobject.py	Fri Sep 29 14:16:06 2006
@@ -1629,6 +1629,7 @@
     if negz == 0:
         return z
     return invert__Long(space, z)
+_bitwise._annspecialcase_ = "specialize:arg(2)"
 
 def _AsLong(v):
     """



More information about the Pypy-commit mailing list