One of my biggest issue while using ROOT is that cling can only JIT um-optimized code (equivalent to -O0). This have been the biggest annoyance while using ROOT that I have to run ACLiC for faster analysis. But I can’t enjoy the extensions thatcling provides like shadowing variables, REPL, etc… while using ACLiC. is there a way to get cling to JIT -O2 or even -O3 code? If not how far is cling to supporting it?
edit: Thanks, I’ve tested #pragma cling optimize(3) and .O 3 does make the code faster on both cling and ROOT. But the JITed code is slower than what GCC/clang generates at -O1. Is this normal?