[Python-Dev] Optionally using GMP to implement long if available (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Nov 10 05:52:03 CET 2008


Tim Peters wrote:

because /knowing/ whether it works requires staring at generated code, there's probably no sane way to automate detection of when, if, and under what conditions it breaks.

Maybe it could be tested by compiling two small test programs, one using (uint64_t)my_uint32 * my_other_uint32 and the other using my_uint64 * my_other_uint64, and seeing whether one is faster than the other?

-- Greg



More information about the Python-Dev mailing list