Author: fijal
Branch: unicode-utf8
Changeset: r95825:9c07b0c439aa
Date: 2019-02-05 14:34 +0100
http://bitbucket.org/pypy/pypy/changeset/9c07b0c439aa/
Log: remove dead code
diff --git a/rpython/rlib/rutf8.py b/rpython/rlib/rutf8.py
--- a/rpython/rlib/rutf8.py
+++ b/rpython/rlib/rutf8.py
@@ -487,8 +487,6 @@
""" Create an index storage which stores index of each 4th character
in utf8 encoded unicode string.
"""
-# if len(utf8) == utf8len < ASCII_INDEX_STORAGE_BLOCKS * 64:
-# return ASCII_INDEX_STORAGE
arraysize = utf8len // 64 + 1
storage = lltype.malloc(UTF8_INDEX_STORAGE, arraysize)
baseindex = 0
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit