Re: Inconsistent exw.exe (was RE: Looking for the best "JOIN")
Chris Bensler writes:
> ...Third, I discovered that I would get extremely different
> results using exw.exe, depending if a variable was
> declared before the functions or not.
> This shouldn't be!?
> In DOS, there is no difference.
> You might also note that Derek's routine was unaffected.
I wasn't able to duplicate your results exactly, but I did
see some large variability in timing when I tried
various other things that shouldn't affect speed.
About a year ago I thoroughly analyzed a benchmark
very similar to yours. I noticed that when you have
a tight loop that creates and destroys small sequences,
many many times (only a benchmark would do this), then
the performance can be strongly affected by trivial changes in
the heap, such as declaring an extra variable.
I put some changes into 2.3 as a result, but I don't think
"real" programs are likely to be affected by this.
If you have a wider variety of sequence lengths, and if you actually
use the sequences for some purpose, then the performance
should be pretty stable.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com
|
Not Categorized, Please Help
|
|