There is not so much non template code in the library but there is some. According to the compile time benchmarks it allows to spare ~100 ms per cpp in which ureact is included (See #126).
Need to repeat fmtlib approach, where cpp part is in header files, that are just included in header-only mode, while they are included from the library cpp file in library mode. The only difference is - header-only. It keeps ureact's compatibility with godbolt.
Need to make sure that make amalgamated works correctly.
Description
There is not so much non template code in the library but there is some. According to the compile time benchmarks it allows to spare ~100 ms per cpp in which ureact is included (See #126).
Need to repeat fmtlib approach, where cpp part is in header files, that are just included in header-only mode, while they are included from the library cpp file in library mode. The only difference is - header-only. It keeps ureact's compatibility with godbolt.
Need to make sure that
make amalgamated
works correctly.