Author: Armin Rigo <[email protected]>
Branch: unicode-utf8
Changeset: r93279:87f548473353
Date: 2017-12-06 10:53 +0100
http://bitbucket.org/pypy/pypy/changeset/87f548473353/
Log: Should improve the situation already
diff --git a/rpython/rlib/rutf8.py b/rpython/rlib/rutf8.py
--- a/rpython/rlib/rutf8.py
+++ b/rpython/rlib/rutf8.py
@@ -17,6 +17,7 @@
import sys
from rpython.rlib.objectmodel import enforceargs, we_are_translated, specialize
+from rpython.rlib.objectmodel import always_inline
from rpython.rlib.rstring import StringBuilder
from rpython.rlib import jit
from rpython.rlib.signature import signature
@@ -734,6 +735,7 @@
def __iter__(self):
return self
+ @always_inline
def next(self):
if self._pos == self._end:
raise StopIteration
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit