Currently the file src/c/CMakeLists.txt instructs CMake to generate out C source code by help of the
XSLT script src/c/generate_c.xsl and the files src/c/*.xml.
Let us remove all this source code generating machinery and just use C/C++ techniques to implement something similar. Of course it is possible to just generate out the C code once and then use that as the original source code but hopefully we should be able to do better than that.
We could for instance make use of the C preprocessing machinery, inline functions or C++ templates...
Verify that the performance at runtime is not getting worse by removing the XML/XSLT source code generating machinery.
Currently the file
src/c/CMakeLists.txt
instructs CMake to generate out C source code by help of the XSLTscript src/c/generate_c.xsl
and the filessrc/c/*.xml
.Let us remove all this source code generating machinery and just use C/C++ techniques to implement something similar. Of course it is possible to just generate out the C code once and then use that as the original source code but hopefully we should be able to do better than that.
We could for instance make use of the C preprocessing machinery, inline functions or C++ templates...
Verify that the performance at runtime is not getting worse by removing the XML/XSLT source code generating machinery.