Re: Euphoria To C Translator - bucket sort
- Posted by Robert Craig <rds at ATTCANADA.NET> Sep 07, 2000
- 458 views
Kenneth Rhodes writes: > I am seeing some strange results in the bucket sort while > running allsorts.ex. Allsorts.ex was modified to > report 15 decimal points > > on the 40 item / 500 trials iteration the bucket sort > timing results routinely drops to 0.000...015 then on iterations > that follow it the timing increases and then drops to 0 again. > > I have had several iterations where the final run of the > bucket sort was 0. The translated/compiled bucket sort is now so fast that it can sometimes complete a batch of iterations before the clock ticks, even once. That gives you a time of 0. Try setting MAX=200000 instead of 20000 in allsorts.ex. That will give you more accurate results, with fewer anomalies. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com