[fpc-pascal] Re: Why is Random(255) some 529x slower compared Delphi 7?
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Thu Dec 8 10:50:34 CET 2011
On Thu, Dec 8, 2011 at 10:45 AM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> Nice, now I need to riddle my code with IFDEF statements (making in
> much harder to read) because lots of the code in question is shared
> between Delphi and FPC. :-/
According to the Delphi documentation you could in the future need
ifdefs for various delphi versions anyway.
So the best solution is introducing MyRandom in your code, then no
ifdefs will be required and it is guaranteed to work in future Delphi
versions too.
--
Felipe Monteiro de Carvalho
More information about the fpc-pascal
mailing list