Register functions ?

tim at callan.UUCP tim at callan.UUCP
Thu Sep 6 07:05:34 AEST 1984

To all of us who used to use PDP-10s, it is clear that

	register foo() {

should mean that foo is a small function that should move itself
into the registers for speed! ( on the 10, the registers were
mapped into the lower 16 words of your address space.  Thus,
it was both reasonable to take the address of a register variable,
and it was reasonable to put code in the registers, because it
would run faster there.)
					Tim Smith
			ihnp4!wlbr!callan!tim or ihnp4!cithep!tim

More information about the Comp.lang.c mailing list