From ...
From: Erik Naggum
Subject: Re: ??: using * for variable ?
Date: 1999/03/20
Message-ID: <3130917545586995@naggum.no>#1/1
X-Deja-AN: 456866930
References: <7csm6k$31f$1@nnrp1.dejanews.com>
mail-copies-to: never
Organization: Naggum Software; +47 8800 8879; http://www.naggum.no
Newsgroups: comp.lang.lisp
* Barry Margolin
| Are deep bindings every really used in serious implementations? I've
| rarely encountered it, and I tend to think of them more as an issue for
| academic discussion of design techniques. The benefit of deep binding is
| that stack unwinding is cheap, but at the expense of slow dynamic
| variable access, and this seems like a poor tradeoff.
there may be a reason to use deep binding in a multiprocessing
environment where you may have to switch contexts very often and this
should be virtually free. switching values of a whole bunch of bindings
in a context switch can get expensive in shallow binding. I don't know
if this would actually hold true in any real system or in any real use,
but it's worth noting that context switching is expensive, and perhaps we
will find the best solutions in unexpected corners of the solution space.
#:Erik