[Python-Dev] Re: [Patch #102337] revised CALL_FUNCTION implementation

Jeremy Hylton jeremy@alum.mit.edu
Wed, 8 Nov 2000 19:25:11 -0500 (EST)


Looks like I jumped the gun with my last message.  A trivial change to
the logic prevented the keyword arguments slowdown.  I've revised the
SF patch.  The new numbers show that the patch is just a tad faster on
the benchmark.  (And the difference between gcc -O2 and -O3 makes a
big difference for this ceval-intensive benchmark.)

Jeremy

time_arg1 0.1 0.09 0.12
time_arg2 0.1 0.1 0.12
time_arg3 0.1 0.1 0.12
time_fact 0.12 0.11 0.13
time_meth 0.1 0.09 0.11
time_umeth 0.11 0.1 0.12
time_builtin 0.09 0.08 0.1
time_callable 0.36 0.34 0.41
time_keyword 0.13 0.13 0.14
time_star 0.12 0.12 0.13
time_kw 0.23 0.22 0.24
time_kw2 0.64 0.61 0.66
time_starkw 0.24 0.23 0.26
time_init 0.64 0.64 0.69
total 3.08