Anagram

Alex Martelli aleax at aleax.it
Thu Jan 24 04:04:22 EST 2002


"Bengt Richter" <bokr at oz.net> wrote in message
news:a2oh1f$de8$0 at 216.39.172.122...
    ...
> Well, that's looking for the fastest way to do the same algorithm (unless
> gmpy.fac() does something different) ...

It calls GMP's factorial, and I haven't examined it but I believed the
latter just did N multiplications (each a rather fast one).  Skip's
measurements suggest there may be something better going on inside
GMP's factorial, but I don't have GMP's sources right here and now
to double-check...


Alex






More information about the Python-list mailing list