This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rumpelsepp
Recipients rumpelsepp
Date 2022-02-24.12:43:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645706630.43.0.574969248824.issue46848@roundup.psfhosted.org>
In-reply-to
Content
The mmap.find() in  function uses a naive loop to search string matches. This can be optimized “for free” by using libc's memmap(3) function instead.

The relevant file is Modules/mmapmodule.c, the relevant function is mmap_gfind().
History
Date User Action Args
2022-02-24 12:43:50rumpelseppsetrecipients: + rumpelsepp
2022-02-24 12:43:50rumpelseppsetmessageid: <1645706630.43.0.574969248824.issue46848@roundup.psfhosted.org>
2022-02-24 12:43:50rumpelsepplinkissue46848 messages
2022-02-24 12:43:50rumpelseppcreate