diff options
author | Erlend E. Aasland <erlend@python.org> | 2024-04-12 07:40:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-12 07:40:55 (GMT) |
commit | deb921f85173a194afb4386553d85c3f99767ca1 (patch) | |
tree | c5f32d62bf1ad727f25f6e8b084876c32d8a96e2 /Python/marshal.c | |
parent | 49fc1414b52b31f6ad0408775d160ec0559c33bb (diff) | |
download | cpython-deb921f85173a194afb4386553d85c3f99767ca1.zip cpython-deb921f85173a194afb4386553d85c3f99767ca1.tar.gz cpython-deb921f85173a194afb4386553d85c3f99767ca1.tar.bz2 |
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>
Diffstat (limited to 'Python/marshal.c')
0 files changed, 0 insertions, 0 deletions