2017/11/29

Performance of Smart Pointer

As parsing takes too long time, I changed the implementation of PEG parser, which was dynamic polymorphism using smart pointers, to static variables with template. Then, the parsing is ten-times faster than old version, although its compile time becomes triple.
I am going to use this version because more optimization loses readability of generated source code although even current implementation is not the most efficient. I will consider more the tuning again.

No comments:

How to set parameters to debugging program on Visual Studio 2019 with CMake

Solution: MSDN Sometimes the "Debug and Launch Settings for CMake" bottun is disabled. In this case, change to the target view. ...