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/2001-June/015424.html below:

[Python-Dev] Special-casing "O"

[Python-Dev] Special-casing "O" [Python-Dev] Special-casing "O"Armin Rigo arigo@ulb.ac.be
Thu, 14 Jun 2001 10:58:48 +0200 (MET DST)
Hello everybody,

For comparison purposes, I implemented the idea of optimizing
PyArg_ParseTuple calls by modifying the C code itself. Here is the result:

  http://homepages.ulb.ac.be/~arigo/pyarg_pp.tgz

I did not upload this as a patch at SourceForge for several reasons. The
most fundamental is that it raises bootstrapping issues: how can we
compile the Python interpreter if we first have to run a Python script on
the source files ? Fixing this would make the Makefiles significantly more
complex. The other reason is that the METH_O solution is probably still
faster, as it often completely avoids to build the 1-tuple of arguments. 
More serious performance tests might be needed, however. 


A bientot,

Armin.




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