Re: random numbers

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

Derek Parnell wrote:
>   function shuff4()
>   ...
>   end function
> 
> On my machine I get ...
> 
>   shuff: 20-22% improvement
>  shuff2: 24-27% improvement
>  shuff3: 25-30% improvement
>  shuff4: 85-95% improvement
> 
> The shuff4() routine avoids unnecessary calculations, and memory allocations
> and deallocations.

That's awesome, Derek!

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

Search



Quick Links

User menu

Not signed in.

Misc Menu