[viff-devel] What to benchmark
Mikkel Krøigård
mk at daimi.au.dk
Wed Sep 24 06:20:27 PDT 2008
Citat ivan at daimi.au.dk:
> I think there was earlier some version where arithmetic was done by calling
> some
> external C code.
We are easily able to switch between gmpy (which is implemented in C) and Python
arithmetic, if that's what you mean.
I remember trying out how to implement Python modules in C, and you needed to
define special functions that map to C functions. Presumably there is something
of the same kind going on inside gmpy that we can measure separately from the
rest of the Python code. I am not familiar with the profilers though, and I
could be wrong.
> Exercise: if you can measure 1) and 2), how do you measure 3)? :-)
That's one tough equation.
More information about the viff-devel
mailing list