If I could use this to share my own “I tried but the results were bad / made no sense” story: I tried to add let
block with a “typical code use” statement (and nothing else, no change to the rest of the library), and that made the runtime (not compiletime) of the library worse: Removing precompilation leads to lower allocations!? Some methods started to allocate instead of being allocation free (again, without changing anything in their source code).
I thought that should not be possible, and I still can not figure out what is so special about this fairly boring simulation code, that led to such weird behavior.