New submission from Stefan Tatschner <ste...@rumpelsepp.org>: 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(). ---------- messages: 413902 nosy: rumpelsepp priority: normal severity: normal status: open title: Use optimized string search function in mmap.find() _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46848> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com