On Sat, Dec 15, 2012 at 12:27 PM, Armin Rigo <[email protected]> wrote: > Hi, > > On Sat, Dec 15, 2012 at 7:51 AM, Maciej Fijalkowski <[email protected]> wrote: >> And ASPW does the same right? I understand the general need for UTF8, >> I just didn't find it in this particular query. > > Fwiw, I wonder again if we couldn't have all our unicode strings > internally be UTF8 instead of 2- or 4-bytes strings. This would mean > a W_UTF8UnicodeObject class that has both a reference to the RPython > string and some optional extra data to make it faster to locate the > n'th character or the total unicode length. (We discussed it on IRC > some time ago.) > > > A bientôt, > > Armin.
Some sort of string strategies? like "we know it's ascii" or so as well? _______________________________________________ pypy-dev mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-dev
