-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Description
In the attached patch there is mpz_bitcount, which is an optimized version
of bit_length which accepts only mpz; in mpmath bitcount has almost always
mpz as argument, so this provides some speedup. Another speedup
comes optimizing input processing in mpmath_normalize.
In issue 94 in http://groups.google.com/group/mpmath-issues
there is a patch to libmpf.py to be used with this patch.
The speedup in runtests is 5% on my Athlon XP 2600.
Original issue reported on code.google.com by mario.pe...@gmail.com
on 13 Jan 2009 at 12:14
Attachments: