Erik Zenker

Results 49 comments of Erik Zenker

@pfultz2 I can confirm that the workaround for MSVC is not necessary anymore (see here https://godbolt.org/z/W8oEPG). So we should check the version of the MSVC.

Snap was blocked recently by linux mint [link](https://www.omgubuntu.co.uk/2020/06/enable-snap-apps-linux-mint-20)

Since clang 9 you can analyse compile time very detailed with the cxx flag `-ftime-trace`. This flag generates a json file which can be loaded into the chrome trace analyser...

Since hsm is header only, the compiler needs some seconds to process all the includes. The sml library provides a preprocessed header file. The script to create this header file...

@ooxi thx for considering hsm. Compile time is currently also my biggest pain point. I will definetly try quom which will save us some seconds. If you have some more...

@ooxi I added a preprocessed header as `hsm/hsm_gen.h". Using this header reduces the compile time by 1 second.

> @erikzenker that's great news! Just to make sure I understand you correctly, this reduces the compile time by one second or the compile time is reduced to one second?...

While adding the latest features to the library the compile time got even worse. I started to write a gist about my investigations: https://gist.github.com/erikzenker/a318fd59cdb4de87db3d659cf425cc1a#file-clang_compile_time_cookbook-md

I attached the current [compile time trace](https://github.com/erikzenker/hsm/files/5683047/hsm.cpp.zip) which can be opened with chrome `chrome://tracing`. I was able to reduce the class instantiations and pending class instantiations. But I have no...

I was able to reduce the compile time a lot by replacing the `remove_duplicates` version which uses `hana` by a `mp11` version. The complex example compiles now in ~30 seconds...