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-May/015038.html below:

[Python-Dev] Special-casing "O"

[Python-Dev] Special-casing "O" [Python-Dev] Special-casing "O"Tim Peters tim.one@home.com
Sat, 26 May 2001 04:14:06 -0400
I don't want to see us duplicate the guts of PyArg_ParseTuple() inside
do_call_special().  METH_O is a cool idea, METH_l is marginal, and the new
code is already slower for METH_O than it needs to be in order to support
the *possibility* of METH_l too (stacks and loops and switch stmts and an
extra layer of do_call_special function call "just in case").

Do METH_O, convert every "O" function to use it, declare victory, and enjoy
the weekend <wink>.

1%-of-the-work-for-80%-of-the-gain-and-an-overall-decrease-in-code-
    size-ly y'rs  - tim




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