The cost of guaranteed tail call optimization is that you have to adopt the Pascal (callee side) convention for stack frame cleanup, so functions can’t reuse outgoing argument space. Does it matter in practice? Dunno.
Not surprising, given the ENTER and LEAVE instructions on x86 that optimize code size for Pascal conventions.
-
-
Not just that, when you have a vintage immediate-mode code generator that's splatting out a bunch of push/pop, then you move the `ret n` into the callee, saving the caller from having to pop
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.