Register variables... :-)
Arthur David Olson
ado at elsie.UUCP
Wed Jul 24 06:40:40 AEST 1985
> 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 at seismo.ARPA
DEC, VAX and Elsie are Digital Equipment and Borden trademarks
More information about the Comp.lang.c
mailing list