3 ms·
No, the generated code is on par with LLVM -O0. It's slower than LLVM -O1, never mind LLVM -O3.
by ummonk 1y ago
No, the generated code is on par with LLVM -O0. It's slower than LLVM -O1, never mind LLVM -O3.
- wiz21c 1y agoI guess it doesn't include linking ? (which takes quite some time)
- andyferris 1y agoOne thing I never understood in this context here (fast JIT/debug builds/hot reloads/-O0) is why you would need much static linking. Generally your modules are going to have a DAG relationship. Even code inside a large compilation unit could potentially be factored out (automatically) into smaller modules. Could you not just generate a bunch of small dynamically linked libraries? Would the system dynamic loader become the speed bottleneck? Even if so, wouldn't reloading just a portion of the DAG in a hot-reload context be much faster than linking everything beforehand?