Re:WTFPython – Understanding Python through surprising snippets
by bjoli on Monday December 23, 2019 @01:11PM
(#21865612)
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".
I must say it is a rather elegant way, but it still fits firmly within "a new way or inefficient code".