mirror of
https://github.com/Ed94/gencpp.git
synced 2026-04-25 20:40:13 -07:00
c2319b9651
On a Ryzen R9 5950 it takes 11 ms to generate AST and 21 ms to serialize to file.
Test
The following tests focus on attempting to generate some math, containers, and the memory module of zpl.
Not all the files are written how I would practically use the library, the containers for example would be better on in c++ as templates, since the templates they generate are trivial symbols to inspect or debug.
An example of a non-trivial generation is a container for elements with SOA or AOS policy for layout. (If a unified element syntax is desired)
The test is divided between two major sets of tests: Parsed and Upfront.