PrusaSlicer-NonPlainar/xs
bubnikv 3731820c48 Optimization of the configuration layer:
The values of StaticPrintConfig derived objects were searched by a name
walking through a huge chained if.
Now they are being mapped with a std::map.
Also initialization of StaticPrintConfig classes from their ConfigOptionDef
defaults is done by maintaining a single global definition of each
StaticPrintConfig derived class, and a new instance is initialized
from this static copy.

Also the ConfigOption instances are casted using static_cast
wherever possible, and their types are verified by a virtual type() method.
This approach avoids insiginificant performance penalty of a dynamic_cast.

Also the compare and clone methods were added to ConfigOption,
and the cloning & compare work on binary values, not by serialization.
2017-10-17 16:01:18 +02:00
..
lib/Slic3r Initial partial implementation of presets in C++. 2017-09-19 13:55:48 +02:00
src Optimization of the configuration layer: 2017-10-17 16:01:18 +02:00
t Ported config load / stored to C++, thanks @alexrj 2017-06-14 17:51:14 +02:00
xsp Optimization of the configuration layer: 2017-10-17 16:01:18 +02:00
CMakeLists.txt Initial partial implementation of presets in C++. 2017-09-19 13:55:48 +02:00
main.xs.in Initial implementation of a CMake build system for the Slic3r XS module. 2017-08-16 19:05:08 +02:00