From 64eb78436c46c1c6eecba1093a9072ff829209c4 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 10 Dec 2011 12:09:27 -0800 Subject: * mpi-patches/add-mp-hash: Rewrote mp_hash to only hash enough low-order bit material from the bignum to fill an unsigned long. We don't need to walk the entire bignum. If the low order digit of the bignum is at least as large as an unsigned long, we just take that as the hash, otherwise we take enough of the digits to fill an unsigned long. For negative numbers, we just invert the bits of the hash. * mpi-patches/add-mpi-toradix-with-case: Refreshed. * mpi-patches/fix-mult-bug: Refreshed. --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 64f54f1c..96acf6dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2011-12-10 Kaz Kylheku + + * mpi-patches/add-mp-hash: Rewrote mp_hash to only hash enough + low-order bit material from the bignum to fill an unsigned long. + We don't need to walk the entire bignum. If the low order + digit of the bignum is at least as large as an unsigned long, + we just take that as the hash, otherwise we take enough of the + digits to fill an unsigned long. For negative numbers, we just + invert the bits of the hash. + + * mpi-patches/add-mpi-toradix-with-case: Refreshed. + + * mpi-patches/fix-mult-bug: Refreshed. + 2011-12-10 Kaz Kylheku * lib.c (mulv): Recognize cases to eliminate a wasteful mul call -- cgit v1.2.3