Optimizing multiple dispatch

Jacek Generowicz jacek.generowicz at cern.ch
Sun Jun 6 08:47:11 CEST 2004

Howard Stearns <howard.stearns at charter.net> writes:

> In your Multimethods, is the number of args fixed and known at the time
> you first call Multimethod(), or do you need to be able to support dispatching
> based on the number as well as the type of the arguments?

These multimethods are proxies for C++ functions, so the number of
arguments is variable.

Thanks for your ideas though: it surprised me to see just how much
those timings differ.

More information about the Python-list mailing list