2 ms·
Sure it does. Where CPython does byte inflation to make sure random access works, PyPy makes you use an extra indexing structure for cases where you can't just
by bjoli 7y ago
Sure it does. Where CPython does byte inflation to make sure random access works, PyPy makes you use an extra indexing structure for cases where you can't just advance one char at a time.
I must say it is a rather elegant way, but it still fits firmly within "a new way or inefficient code".