1. Pypy
  2. Untitled project
  3. pypy

Commits

Brian Kearns  committed 23fcef6

unroll this too

  • Participants
  • Parent commits fd57a72
  • Branches default

Comments (0)

Files changed (1)

File pypy/objspace/std/setobject.py

View file
  • Ignore whitespace
             setdata[self.unwrap(w_item)] = None
         return self.erase(setdata)
 
+    @jit.look_inside_iff(lambda self, items:
+                         jit.loop_unrolling_heuristic(items, len(items)))
     def get_storage_from_unwrapped_list(self, items):
         setdata = self.get_empty_dict()
         for item in items: