@morten_skaaning right - and globals can be stacks that move in parallel to the callstack.
Top-level
@morten_skaaning right - and globals can be stacks that move in parallel to the callstack. 5 comments
@beatrix @morten_skaaning you're not passing through register values, it's all load store and heap allocations so - worse. @lritter @morten_skaaning yeah… I’m mainly curious how array[sp++] compares to a push instruction… And how big part that is of the whole program’s runtime … guess one could try to benchmark it 😅 @beatrix @morten_skaaning the compiler will also have a harder time inlining any of that. |
@lritter @morten_skaaning i wonder how that performs compared to the dedicated native stack 🤔