@lritter yeah it's called globals ๐๐
6 comments
@lritter @morten_skaaning i wonder how that performs compared to the dedicated native stack ๐ค @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. |
@morten_skaaning right - and globals can be stacks that move in parallel to the callstack.