[Gmp-commit] /home/hgfiles/gmp: Reduce memory usage in mu_bdiv_{q, qr}.

mercurial at gmplib.org mercurial at gmplib.org
Fri Feb 5 11:29:05 CET 2010


details:   /home/hgfiles/gmp/rev/4289f85f924e
changeset: 13417:4289f85f924e
user:      Marco Bodrato <bodrato at mail.dm.unipi.it>
date:      Fri Feb 05 11:28:40 2010 +0100
description:
Reduce memory usage in mu_bdiv_{q,qr}.

diffstat:

 mpn/generic/mu_bdiv_q.c  |  2 +-
 mpn/generic/mu_bdiv_qr.c |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 28a8a7a73dc8 -r 4289f85f924e mpn/generic/mu_bdiv_q.c
--- a/mpn/generic/mu_bdiv_q.c	Fri Feb 05 10:24:34 2010 +0100
+++ b/mpn/generic/mu_bdiv_q.c	Fri Feb 05 11:28:40 2010 +0100
@@ -235,7 +235,7 @@
 	{
 	  tn = mpn_mulmod_bnm1_next_size (dn);
 	  /* FIXME: check for the correct estimate and remove #if */
-#if 0
+#if 1
 	  itch_out = mpn_mulmod_bnm1_itch (tn, dn, in);
 #else
 	  itch_out = mpn_mulmod_bnm1_itch (tn, tn, tn);
diff -r 28a8a7a73dc8 -r 4289f85f924e mpn/generic/mu_bdiv_qr.c
--- a/mpn/generic/mu_bdiv_qr.c	Fri Feb 05 10:24:34 2010 +0100
+++ b/mpn/generic/mu_bdiv_qr.c	Fri Feb 05 11:28:40 2010 +0100
@@ -255,7 +255,7 @@
 	{
 	  tn = mpn_mulmod_bnm1_next_size (dn);
 	  /* FIXME: check for the correct estimate and remove #if */
-#if 0
+#if 1
 	  itch_out = mpn_mulmod_bnm1_itch (tn, dn, in);
 #else
 	  itch_out = mpn_mulmod_bnm1_itch (tn, tn, tn);


More information about the gmp-commit mailing list