On Sun, 5 May 2002, Sisyphus wrote:

> In short, I can save 250 milliseconds by halving the size of one (and only
> one) of the two C arrays - and it doesn't matter which array I shorten. But
> if I shorten *both* arrays, I get no saving in execution time. Doesn't make
> sense to me.

Does shortening the arrays mean that you might have to grow them with
realloc() later under some circumstances?  I suggest stepping through your
code with a debugger and possibly using a profiler to find out where the
time is going.

-sam




Reply via email to