Array indexing vs. pointers...

Rahul Dhesi dhesi at bsu-cs.UUCP
Mon Oct 10 13:14:06 AEST 1988


In article <208 at obie.UUCP> wes at obie.UUCP (Barnacle Wes) writes:
>One thing to
>keep in mind here is that in general, you are wasting your time trying
>to optimize the entire program.  Most programs spend a large amount of
>their processing time in a few critical routines.

Let's remember that this behavior is true only for *unoptimized*
programs.

After you have located the critical routines and speeded them up, the
program will spend a large amount of its processing time spread over
many routines.  *Now*, if you want further significant speed-ups, you
can't just find a few hot spots.
-- 
Rahul Dhesi         UUCP:  <backbones>!{iuvax,pur-ee}!bsu-cs!dhesi



More information about the Comp.lang.c mailing list