1. Euphoria To C Translator - bucket sort
- Posted by Kenneth Rhodes <hermanhesse at EXCITE.COM> Sep 07, 2000
- 441 views
Platform: LINUX Mandrake 7.0 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. Running allsorts.ex from the interpreter results in significantly longer time runs for each iteration of the bucket sort, but the results always scale upward symetrically with each iteration. _______________________________________________________ Say Bye to Slow Internet! http://www.home.com/xinbox/signup.html
2. Re: Euphoria To C Translator - bucket sort
- Posted by Robert Craig <rds at ATTCANADA.NET> Sep 07, 2000
- 440 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