]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46848: Use stringlib/fastsearch in mmap (GH-31625)
authorDennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
Wed, 2 Mar 2022 04:46:30 +0000 (23:46 -0500)
committerGitHub <noreply@github.com>
Wed, 2 Mar 2022 04:46:30 +0000 (23:46 -0500)
commit6ddb09f35b922a3bbb59e408a3ca7636a6938468
tree26b0fbc0a99455f9393e5570ef884999e792ba93
parent9833bb91e4d5c2606421d9ec2085f5c2dfb6f72c
bpo-46848: Use stringlib/fastsearch in mmap (GH-31625)

Speed up mmap.find(). Add _PyBytes_Find() and _PyBytes_ReverseFind().
Include/cpython/bytesobject.h
Misc/NEWS.d/next/Library/2022-03-01-01-16-13.bpo-46848.BB01Fr.rst [new file with mode: 0644]
Modules/mmapmodule.c
Objects/bytesobject.c