Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site fluke.UUCP Path: utzoo!linus!decvax!microsoft!fluke!kurt From: kurt@fluke.UUCP (Kurt Guntheroth) Newsgroups: net.lang Subject: Re: static links vs. displays Message-ID: <770@vax2.fluke.UUCP> Date: Wed, 19-Oct-83 12:11:08 EDT Article-I.D.: vax2.770 Posted: Wed Oct 19 12:11:08 1983 Date-Received: Fri, 21-Oct-83 06:18:58 EDT References: <2501@utcsrgv.UUCP> Organization: John Fluke Mfg. Co., Everett, Wash Lines: 14 [ Why are displays any better/faster/different than static links? ] If your machine supports the right addressing modes, uplevel addressing is faster with a display than it is with a static link. To get to the activation record of the procedure n lexical levels above the current function activation, you must perform n levels of indirection through the static link. With a display, you simply indirect (once) through the display at the lexical level you want. -- Kurt Guntheroth John Fluke Mfg. Co., Inc. {uw-beaver,decvax!microsof,ucbvax!lbl-csam,allegra,ssc-vax}!fluke!kurt