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

Jürgen Hestermann juergen.hestermann at gmx.de
Thu Dec 8 07:27:56 CET 2011



Graeme Geldenhuys schrieb:
> I would suggest the default Random() call uses a higher
> speed performance generator though, and not the MT one.
>
>   
Fully agree. Especially, because ex Delphi (and ex Turbo Pascal) users 
would expect it like that. And most of them (coming from Delphi/TP) 
believe that the randomness is not very reliable. They mainly don't even 
know (like me) that the FPC random() is much more sophisticated.



More information about the fpc-pascal mailing list