On Sun, 2025-02-16 at 18:52 -0500, Paul Koning via cctalk wrote:
For example, the EL-X8 has an addressing mode for
resolving
references through the "display" of static scopes in what looks like
a single operation.
When Tom Pennello was a grad student studying under Frank de Remer at
ACSC, he collected a big pile of codes in languages that had nested
lexical and dynamic scopes (such as recursive internal functions). He
found that chasing up-links was much faster than displays. In some
cases, creating and destroying the display took six times longer than
executing the function. I mentioned this to Malcolm Cohen and me
mumbled something about a "trampoline." I have no idea what that is.