[btl.unix] Interesting memo on efficiency of C code

warren@ihnss.UUCP (10/17/83)

I ran accross a CMU technical report on the efficiency of C coding
on a vax 11/780.  The report discussed timings for different
language constructs and various optimization techniques (like the
use of register variables, loop re-structuring, pointers versus
arrays, etc.)  The timings were done on a 4.1BSD system, however I
suspect that they are generally applicable.  There are several
interresting examples of simple programs and optimizations that
people may apply, and of the results.

For anyone interested, it is:

Efficiency Considerations for C Programs on a Vax 11/780

Cristopher Van Wyk (BTL), Jon L. Bentley (CMU), Peter J. Weinberger
(BTL).
CMU-CS-82-134

No, I won't make copies, but it's at least available from the
btl technical reports service for you btl'ers.

-- 

	Warren Montgomery
	ihnss!warren
	IH x2494