[fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?
noreply at z505.com
noreply at z505.com
Fri Dec 9 19:54:27 CET 2011
> On 9 December 2011 09:47, Florian Klaempfl wrote:
>>
>> According to measurements of me and other peoples, random is only 7-10
>> times slower (depending on the CPU).
>
> What do you feed your computer, because mine differs vastly from yours.
>
In europe electricity is sometimes 220 volts. Twice as fast as 110 volts
in Canada, but I'm not sure about africa ;-)
Can the compiler send a warning message WARNING: random is faster if you
use the other unit in soandso.pas.
More information about the fpc-pascal
mailing list