The Crystal Programming Language Forum

Changeable LLVM inliner threshold?

Might be nice to have access to this LLVM Inliner Threshold setting:

I was doing a micro benchmark and was surprised to see that it ran like twice as fast if I adjusted that up to 5K. Also made my executable like 6MB instead of 1MB but sometimes speed is worth the tradeoff (might even want to make that number larger by default for release builds? Dunno.)


somewhat related:

1 Like