A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-October/114048.html below:

[Python-Dev] cpython: Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchr

[Python-Dev] cpython: Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchr [Python-Dev] cpython: Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchrVictor Stinner victor.stinner at haypocalc.com
Thu Oct 13 03:07:20 CEST 2011
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:18:12 2011 +0200
> > 
> > summary:
> >   Optimize findchar() for PyUnicode_1BYTE_KIND: 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4