topology-tool-kit / ttk

TTK - Topological Data Analysis and Visualization - Source Code
https://topology-tool-kit.github.io/
Other
406 stars 120 forks source link

From c++14 to c++17 standard #995

Closed atalon-lip6 closed 4 months ago

atalon-lip6 commented 7 months ago

This changes is prompted by the use of if constexpr expressions in the near future, unsuported with std=c++14.

julien-tierny commented 7 months ago

preliminary experiments:

atalon-lip6 commented 7 months ago

So 5% more time :-( I experienced the 10% faster on scalarFieldSmoother, I wonder if it still persists with ctBones.

julien-tierny commented 4 months ago

PR #1006 requires migrating to C++17. I've run again the performance tests and couldn't reproduce the 5% perf loss (on discrete gradient computation, the performances between C++14 and C++17 were pretty much on par). I've checked visually the example data base and everything's OK. let's go!