[fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

Bart bartjunk64 at gmail.com
Thu Dec 8 21:04:10 CET 2011


My Delphi's random is only 7 times faster then fpc's random (Celeron 700).

Bart

On 12/8/11, Marco van de Voort <marcov at stack.nl> wrote:
> In our previous episode, Tomas Hajny said:
>> >> the default option exactly like you suggested,
>> >
>> > Did I suggest this?
>>
>> Sorry, I wasn't clear - you suggested that people interested in keeping
>> the current solution raised their voice (which at least Felipe and
>> Karl-Michael did).
>
> And me. I don't see anything in a manager-record solution for this.
>
> I'd be happy to have a random package in packages/ with a bunch of random
> mgrs, but I don't see the urgent need to make this default if a better
> solution is already there.
>
> It is like the fast trunc/round discussions over again.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



More information about the fpc-pascal mailing list