Subject: Re: Heap- vs. stack-based fn call frames, was: how to validate input?
From: Erik Naggum <erik@naggum.no>
Date: 2000/04/26
Newsgroups: comp.lang.lisp
Message-ID: <3165723214520205@naggum.no>

* chucko@best.com (Chuck Fry)
| As a one-time student of computer architecture, this begs the question:
| What choices could the CPU designer make to lessen the expense of
| heap-based call frames?

  predictive cache line acquisition in the heap allocation direction.
  the stack is fast because it's nearly always in the fastest cache.
  if it weren't, it would be disastrously slow on modern hardware.

#:Erik