From: utzoo!decvax!harpo!seismo!dmy
Newsgroups: net.lang.c,net.misc,net.unix-wizards
Title: C Efficiency Question
Article-I.D.: seismo.187
Posted: Tue Jan  4 10:33:04 1983
Received: Wed Jan  5 01:27:34 1983


The "register" storage class is useful for improving code efficiency.
However, if the compiler is smart enough to use all available registers,
then putting the "wrong" variables into registers should actually
decrease efficiency.  Does anyone have single examples or general rules
about when usage of "register" is actually less efficient?
(Mail to me [ harpo!seismo!dmy ] , I'll summarize on the net.)

--dmy--