Re: Euphoria To C Translator - bucket sort

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu