[LyX/master] Reduce the amount of needed boost headers
Yuriy Skalko
yuriy.skalko at gmail.com
Thu Dec 10 13:49:07 UTC 2020
>
> Patch 1 is fine.
>
> Patch 2: did you try to determine whether to_string() is better than using ostringstream<< ?
>
>
> At least some time ago, performance was better with lexical_cast:
> https://www.boost.org/doc/libs/1_49_0/doc/html/boost_lexical_cast/performance.html
>
> JMarc
Here is more recent page:
https://www.boost.org/doc/libs/1_74_0/doc/html/boost_lexical_cast/performance.html
As I checked to_string delegtes real work to vsnprintf (at least on
mingw). So it should be similar to the last column result. And looking
only to "...->string" lines in table, the performance should be
comparable. But I haven't done the benchmarking.
Yuriy
More information about the lyx-devel
mailing list