3 ms·
Yes, like all JITs by definition. The actual memory increase depends heavily on the app size so I could quote some figures but it would likely be irrelevant to
by byroot 4y ago
Yes, like all JITs by definition.
The actual memory increase depends heavily on the app size so I could quote some figures but it would likely be irrelevant to you.
- jeltz 4y agoNo, that is not per definition. While the JITing uses memory a JIT can remove unnecessary allocations from the JITed code and in theory reduce memory usage. But in practice you should expect higher memory use.
- cutler 4y agoSo not much to shout about given that Ruby's memory usage isn't great to begin with?
- byroot 4y agoDepends what you are after and what you are constrained by. Some people might be struggling with memory usage and may not see it as worth it, but for others who may have some extra RAM sitting around, it might come as a free perf increase. As for memory usage, proper use of CoW can reduce it dramatically: https://github.com/Shopify/pitchfork/blob/master/benchmark/README.md https://github.com/Shopify/pitchfork/blob/master/benchmark/R...