Author: Antonio Cuni <[email protected]>
Branch: faster-rstruct
Changeset: r80743:5f6a7b8eaf84
Date: 2015-11-18 08:59 +0100
http://bitbucket.org/pypy/pypy/changeset/5f6a7b8eaf84/

Log:    we no longer need @rgc.nocollect

diff --git a/rpython/rlib/strstorage.py b/rpython/rlib/strstorage.py
--- a/rpython/rlib/strstorage.py
+++ b/rpython/rlib/strstorage.py
@@ -31,7 +31,6 @@
 from rpython.rtyper.lltypesystem.rstr import STR, _get_raw_str_buf
 from rpython.rtyper.annlowlevel import llstr
 from rpython.rlib.objectmodel import specialize
-from rpython.rlib import rgc
 
 @specialize.memo()
 def rpy_string_as_type(TP):
@@ -45,7 +44,6 @@
                                 ('chars', lltype.Array(TP, hints={'immutable': 
True})))
     return STR_AS_TP
 
[email protected]_collect
 @specialize.ll()
 def str_storage_getitem(TP, s, index):
     STR_AS_TP = rpy_string_as_type(TP)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to