Author: Brian Kearns <[email protected]>
Branch:
Changeset: r62738:23fcef6e69f8
Date: 2013-03-25 07:00 -0400
http://bitbucket.org/pypy/pypy/changeset/23fcef6e69f8/
Log: unroll this too
diff --git a/pypy/objspace/std/setobject.py b/pypy/objspace/std/setobject.py
--- a/pypy/objspace/std/setobject.py
+++ b/pypy/objspace/std/setobject.py
@@ -398,6 +398,8 @@
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:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit