Have you tried LTO and/or PGO? Of course the programs using your library will 
need to use them, but you can test in your benchmarks at least. E.g. see 
<https://forum.nim-lang.org/t/6295>

Reply via email to