Aaron W. Hsu scripsit:

> I question the sanity of minor optimizations on deliberately slow code.

It's precisely naive implementations that benefit most from an explicit
fast path through the code that an optimizing system may well be able to
find for itself.  Nowadays, C compilers normally disregard the "register"
declaration, but in the old days, a judiciously placed "register" in
the inner loop, or to put a global variable in a register (back when
machines *had* registers) made a hug difference to performance.

-- 
John Cowan  co...@ccil.org   http://ccil.org/~cowan
"The exception proves the rule."  Dimbulbs think: "Your counterexample proves
my theory."  Latin students think "'Probat' means 'tests': the exception puts
the rule to the proof."  But legal historians know it means "Evidence for an
exception is evidence of the existence of a rule in cases not excepted from."

_______________________________________________
r6rs-discuss mailing list
r6rs-discuss@lists.r6rs.org
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to