summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-12-06 16:34:16 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2017-12-06 16:34:16 +0000
commitf2dfd7d60c02b7ca46a6182ab21416fa52f9bf6c (patch)
treec82e77c4d6e937feadebe11f28137e570e74412d /NEWS
parent6872fdc006aaf96157958ade355eaa0c9d58080d (diff)
downloadmpfr-f2dfd7d60c02b7ca46a6182ab21416fa52f9bf6c.tar.gz
Cleanup and fixes for the mpz_t pool.
* Split src/free_cache.c to itself and a new source file src/pool.c containing pool related code. * src/mpfr-impl.h, src/pool.c: cleanup and fixes. In particular: - renamed MPFR_MY_MPZ_INIT to MPFR_POOL_NENTRIES; - no longer use GMP's symbols __gmpz_init, etc. directly; - improved the condition for mpfr_mpz_init2; - fixed the condition in mpfr_mpz_clear (we want to consider the allocated size, not the size of the current number). * src/Makefile.am: added pool.c. * src/mpfr.h: added mpfr_free_pool prototype. * doc/mpfr.texi: updated pool description in "Memory Handling"; new function mpfr_free_pool. * doc/README.dev: update due to the rename of MPFR_MY_MPZ_INIT. * NEWS: better announcement of the mpz_t pool. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11922 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index df1b95c17..76a03b3d0 100644
--- a/NEWS
+++ b/NEWS
@@ -87,7 +87,10 @@ Changes from versions 3.1.* to version 4.0.0:
- Old, deprecated macros mpfr_add_one_ulp and mpfr_sub_one_ulp removed.
The mpfr_next* functions should be used instead.
- Internally, improved caching: a minimum of 10% increase of the precision
- is guaranteed to avoid too many recomputations; added mpz_t caching.
+ is guaranteed to avoid too many recomputations.
+- Added internal small-precision mpz_t pool, which aims to avoid the
+ overhead of memory allocation, in particular.
+ New function mpfr_free_pool.
- Added configure option --enable-assert=none to avoid checking any assertion.
- The --enable-decimal-float configure option no longer requires
--with-gmp-build, and support for decimal floats is now automatically