SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72125 0 15 Python

gh-117431: Adapt bytes and bytearray .find() and friends to Argument Clinic (#117502)

This change gives a significant speedup, as the METH_FASTCALL calling
convention is now used. The following bytes and bytearray methods are adapted:

- count()
- find()
- index()
- rfind()
- rindex()

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
E
Erlend E. Aasland committed
deb921f85173a194afb4386553d85c3f99767ca1
Parent: 49fc141
Committed by GitHub <noreply@github.com> on 4/12/2024, 7:40:55 AM