Author: Maciej Fijalkowski <[email protected]>
Branch: speedup-unpackiterable
Changeset: r56059:c8fc0a91f6c8
Date: 2012-07-13 11:16 +0200
http://bitbucket.org/pypy/pypy/changeset/c8fc0a91f6c8/

Log:    kill the max here. seems the original reason was lost long ago

diff --git a/pypy/rpython/lltypesystem/rbuilder.py 
b/pypy/rpython/lltypesystem/rbuilder.py
--- a/pypy/rpython/lltypesystem/rbuilder.py
+++ b/pypy/rpython/lltypesystem/rbuilder.py
@@ -59,7 +59,7 @@
 
     @classmethod
     def ll_new(cls, init_size):
-        if init_size < 0 or init_size > MAX:
+        if init_size < 0:
             init_size = MAX
         ll_builder = lltype.malloc(cls.lowleveltype.TO)
         ll_builder.allocated = init_size
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to