7 ms·
> Why not cache the compiled methods to make warmup a once-per-version delay? It would be a JIT/precompiled hybrid. Call it gradually compiled. That's what Boo
by Aearnus 7y ago
> Why not cache the compiled methods to make warmup a once-per-version delay? It would be a JIT/precompiled hybrid. Call it gradually compiled.
That's what Bootsnap does, and it now comes standard with Rails. https://github.com/Shopify/bootsnap https://github.com/Shopify/bootsnap
- angelbob 7y agoNope, that's not what Bootsnap does. Bootsnap caches the pre-parsed .rb files as ISEQs (bytecode buffers.) It's conceptually a bit similar but not the same.