changeset 1175:b1c5da789904 broker

notes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 Nov 2019 13:28:18 +0100
parents 6def5bfba867
children 57b38e609d32
files Framework/Toolbox/LinearAlgebra.cpp
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Toolbox/LinearAlgebra.cpp	Wed Nov 20 13:13:53 2019 +0100
+++ b/Framework/Toolbox/LinearAlgebra.cpp	Wed Nov 20 13:28:18 2019 +0100
@@ -125,6 +125,10 @@
         }
 
 #elif 1
+        /**
+         * Use of our homemade implementation of
+         * "boost::lexical_cast<double>()". It is much faster than boost.
+         **/
         if (!GenericToolbox::StringToDouble(target[i], items[i].c_str()))
         {
           return false;
@@ -132,8 +136,9 @@
         
 #else
         /**
-         * Fallback implementation using Boost (slower, but somewhat
-         * independent to locale).
+         * Fallback implementation using Boost (slower, but somehow
+         * independent to locale contrarily to "std::stod()", and
+         * generic as it does not use our custom implementation).
          **/
         try
         {