Speed: bytecode vz C API calls
Michael Hudson
mwh at python.net
Mon Dec 8 09:49:06 EST 2003
Jacek Generowicz <jacek.generowicz at cern.ch> writes:
> Could anyone suggest how I could squeeze more speed out of the
> memoizer? (I'll include the core of my memoize extension type at the
> below.)
You *might* get a speed bump by making your memoized callable a method
of the memoizer object rather than implementing tp_call.
Cheers,
mwh
--
M-x psych[TAB][RETURN]
-- try it
More information about the Python-list
mailing list