summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2021-06-02 10:14:04 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2021-06-02 10:14:04 +0000
commit9f69eb4305c41e1e3b4037ae34319f743c081e8c (patch)
tree21814f4bcf2f059f2d2c2a4ff04a31dfbe8884f4
parent0841789d2d2f43089d0ee48ccef4dd13c9477dad (diff)
downloadmpfr-9f69eb4305c41e1e3b4037ae34319f743c081e8c.tar.gz
[doc/mpfr.texi] some figures about slowdown with C++ interface
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14534 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--doc/mpfr.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi
index 5765cc315..7ca85080b 100644
--- a/doc/mpfr.texi
+++ b/doc/mpfr.texi
@@ -1139,7 +1139,8 @@ Here are a few hints to get the best efficiency out of MPFR:
This will avoid copying the significands;
@item avoid using MPFR from C++, or make sure your C++ interface does not
- perform unnecessary allocations or copies;
+ perform unnecessary allocations or copies. Slowdowns of up to a
+ factor 15 have been observed on some applications with a C++ interface;
@item MPFR functions work in-place: to compute @code{a = a + b} you don't
need an auxiliary variable, you can directly write