[fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?
Henry Vermaak
henry.vermaak at gmail.com
Thu Dec 8 10:33:28 CET 2011
On 08/12/11 09:13, Vincent Snijders wrote:
> 2011/12/8 Graeme Geldenhuys<graemeg.lists at gmail.com>:
>> On 8 December 2011 09:25, Felipe Monteiro de Carvalho wrote:
>>>
>>> And what if it changes in the future to being slow and statistically
>>> strong, we change again too?
>>
>> The random number generator can be implemented in such a way that the
>> backend generator is user selectable.
>>
>>
>>> And what about people using FPC only and depending on our Random being
>>> statistically strong, they are less important then theorical Delphi
>>> migrants?
>>
>> [like what was told to me numerous times before] They (FPC users)
>> should speak up now, or forever hold your peace.
>
> When I used fpc in past to write statistical simulation I also
> investigated the random number generator and was pleased to see that
> it used the Mersenne Twister. I hope a upcoming change won't break my
> programs or make there outcome suspect because of the poor quality of
> the random number generator.
I agree, quality first. Especially when faster lower quality
alternatives are so easy to implement.
Henry
More information about the fpc-pascal
mailing list