From e0737c56c1e384e05064a0c6e1ac46979371041b Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Wed, 19 Dec 2018 22:58:32 +0100 Subject: New upstream version 2.0.0+repack --- .../math/doc/html/math_toolkit/perf_over1.html | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 boost/libs/math/doc/html/math_toolkit/perf_over1.html (limited to 'boost/libs/math/doc/html/math_toolkit/perf_over1.html') diff --git a/boost/libs/math/doc/html/math_toolkit/perf_over1.html b/boost/libs/math/doc/html/math_toolkit/perf_over1.html new file mode 100644 index 00000000..aa73fd5d --- /dev/null +++ b/boost/libs/math/doc/html/math_toolkit/perf_over1.html @@ -0,0 +1,88 @@ + + + +Performance + + + + + + + + + + + + + + + +
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
+
+
+PrevUpHomeNext +
+
+ +

+ By and large the performance of this library should be acceptable for most + needs. However, often the library has to make a choice whether to be accurate + or fast and by default it chooses accuracy over speed. If you would rather + have fast rather than fully accurate routines, then refer to the performance + section for information and examples on how to achieve this. +

+

+ In terms of the algorithms used, this library aims to use the same "best + of breed" algorithms as many other libraries: the principle difference + is that this library is implemented in C++ - taking advantage of all the abstraction + mechanisms that C++ offers - where as most traditional numeric libraries are + implemented in C or FORTRAN. Traditionally languages such as C or FORTRAN are + perceived as easier to optimise than more complex languages like C++, so in + a sense this library provides a good test of current compiler technology, and + the "abstraction penalty" - if any - of C++ compared to other languages. +

+

+ The three most important things you can do to ensure the best performance from + this library are: +

+
    +
  1. + Turn on your compilers optimisations: the difference between "release" + and "debug" builds can easily be a factor + of 20. +
  2. +
  3. + Pick your compiler carefully: performance + differences of up to 8 fold have been found between some Windows + compilers for example. +
  4. +
  5. + Disable internal use of long double, this will reduce accuracy but typically + yield a 2x speedup on modern x64 hardware/compilers. +
  6. +
+

+ The performance section contains more information + on the performance of this library, what you can do to fine tune it, and how + this library compares to some other open source alternatives. +

+
+ + + +
+
+
+PrevUpHomeNext +
+ + -- cgit v1.2.3