[M3devel] dbxout_static_chain_decl?

hendrik at topoi.pooq.com hendrik at topoi.pooq.com
Wed Aug 18 01:59:01 CEST 2010


On Fri, May 28, 2010 at 06:04:01PM -0400, hendrik at topoi.pooq.com wrote:
> 
> In Algol 68, when it's implemented using static links, the static chain 
> doesn't thread *all* the chain of surrounding procedures -- it skips the 
> ones that don't define any names used in the inner ones.
> 
> This bit of denesting might improve efficiency even in Modula 3, since 
> some static chains might end up being shorter.  Whether it's worth the 
> effort is another question, of course.

I should perhaps have mentioned that this behaviour is *required* by the 
Alcol 68 language definition.  Not required by Modula 3, where what you 
can do with local procedures is more restricted.

-- hendrik



More information about the M3devel mailing list