[Python-Dev] ineffective optimization: method tables
Samuele Pedroni
Samuele Pedroni <pedroni@inf.ethz.ch>
Mon, 23 Apr 2001 17:35:48 +0200 (MET DST)
Hi.
[Neil Schemenauer]
> I did have 2-D tables for binary operations but since they were
> quite sparse I took them out in favor of arrays and case
> statements. Unfortunately, all my benchmarks show this patch to
> be ineffective in terms of speeding up the interpreter. Anyone
> know why?
I just noticed that your changes add a 1 more call price also were there was
no such price (int + int, etc), do not know if that matters ...
regards.