Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 alpha 4/15/85; site elsie.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: net.lang.c Subject: Re: Register variables... :-) Message-ID: <5178@elsie.UUCP> Date: Tue, 23-Jul-85 16:40:40 EDT Article-I.D.: elsie.5178 Posted: Tue Jul 23 16:40:40 1985 Date-Received: Thu, 25-Jul-85 01:33:25 EDT References: <2943@decwrl.UUCP> <168@steinmetz.UUCP> Organization: NIH-LEC, Bethesda, MD Lines: 11 > His program spent much of its time calling several fairly large procedures > isolated in a module. These were called thousands of times and usually > simply returned after making one simple comparison, but occasionally they > did something complex. This happened seldom enough so it mattered little > whether they used register variables. The DEC-compiled version apparently > spent an awful lot of time just saving and restoring unchanged registers. If only the copy-on-write register instructions had worked on early 750's. :-) -- UUCP: ..decvax!seismo!elsie!ado ARPA: elsie!ado@seismo.ARPA DEC, VAX and Elsie are Digital Equipment and Borden trademarks