[Python-Dev] Speed up function calls

Kurt B. Kaiser kbk at shore.net
Wed Jan 26 06:29:26 CET 2005


Neal Norwitz <nnorwitz at gmail.com> writes:

>> * not handling more than nine arguments,
>
> There are very few functions I've found that take more than 2
> arguments.  Should 9 be lower, higher?  I don't have a good feel.
> From what I've seen, 5 may be more reasonable as far as catching 90%
> of the cases.

Five is probably conservative.

http://mail.python.org/pipermail/python-dev/2004-February/042847.html

-- 
KBK


More information about the Python-Dev mailing list