Carl Friedrich Bolz-Tereick pushed to branch branch/py3.7 at PyPy / pypy


Commits:
3546da3a by Carl Friedrich Bolz-Tereick at 2021-05-09T22:00:24+02:00
implement three of CPython's optimizations for binary readlines:
- shortcut for checking whether the file is closed
- search much quicker for \n in the ByteBuffer
- shortcut for reading from the file-descriptor into the ByteBuffer

--HG--
branch : py3.7

- - - - -


4 changed files:

- pypy/interpreter/unicodehelper.py
- pypy/module/_io/interp_bufferedio.py
- pypy/module/_io/interp_fileio.py
- pypy/module/_io/test/test_bufferedio.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/3546da3a19cd2cce1834e3911d59659fdc116463

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/commit/3546da3a19cd2cce1834e3911d59659fdc116463
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to