Commits

Alex Gaynor committed 55c1694

Unroll string hashing on virtuals

  • Participants
  • Parent commits e987b8f

Comments (0)

Files changed (1)

File rpython/rtyper/lltypesystem/rstr.py

             b.chars[i] = str.chars[i]
         return b
 
+    @jit.look_inside_iff(lambda s: jit.isvirtual(s))
     @jit.elidable
     def ll_strhash(s):
         # unlike CPython, there is no reason to avoid to return -1