Optimizing multiple dispatch
Jacek Generowicz
jacek.generowicz at cern.ch
Thu Jun 3 10:19:26 EDT 2004
[Hi, Brian, fancy meeting you here !]
Brian Gough <bjg at network-theory.co.uk> writes:
> If the arguments inside the loop have fixed types, then maybe you
> could have a method to get the reference to the function (once)
> outside the loop.
Yup, we do that already ... it gives us more than a factor of 2
improvement in a particular politically important benchmark.
But, this must remain an option open to the user, and there is still a
need to make the thing go faster without pre-selection.
More information about the Python-list
mailing list