[Python-Dev] cpython: Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchr (original) (raw)
Victor Stinner victor.stinner at haypocalc.com
Thu Oct 13 03:07:20 CEST 2011
- Previous message: [Python-Dev] cpython: Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchr
- Next message: [Python-Dev] [Python-checkins] peps: Mark PEP accepted.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le jeudi 13 octobre 2011 01:27:32, Antoine Pitrou a écrit :
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🔞12 2011 +0200 > > summary: > Optimize findchar() for PyUnicode1BYTEKIND: use memchr and memrchr Can't we simply reuse the stringlib here?
Hum, maybe, but not easily: functions have different prototypes and manipulate different types.
Victor
- Previous message: [Python-Dev] cpython: Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchr
- Next message: [Python-Dev] [Python-checkins] peps: Mark PEP accepted.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]