[net.lang.c] Register variables... :-)

ado@elsie.UUCP (Arthur David Olson) (07/23/85)

> 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