[Python-Dev] cpython: Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchr
Antoine Pitrou
solipsis at pitrou.net
Thu Oct 13 01:27:32 CEST 2011
On Thu, 13 Oct 2011 01:17:29 +0200
victor.stinner <python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/e5bd48b43a58
> changeset: 72903:e5bd48b43a58
> user: Victor Stinner <victor.stinner at haypocalc.com>
> date: Thu Oct 13 00:18:12 2011 +0200
> summary:
> Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchr
Can't we simply reuse the stringlib here?
More information about the Python-Dev
mailing list