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.
Subscribe to:
Post Comments (Atom)
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. ...
-
Enterprise Architect(EA) is a UML tool by SSJ, which supports UML 2.1 since EA version 6.5. Now, I use the tool for UML 2.0 and does not che...
-
sc create svnserve binPath= "\"C:\Program Files\subversion\bin\svnserve.exe\" --service --listen-host=0.0.0.0 --root c:\svnro...
-
Multicharacter Literal is defined at 2.13.2 Character Literals of ISO/IEC14882:2003. The multicharacter literal contains more than one c-ch...
No comments:
Post a Comment