[DUG] delphi is fast-very fast
Berend de Boer
berend at pobox.com
Thu Jul 2 16:40:47 NZST 2009
>>>>> "Jolyon" == Jolyon Smith <jsmith at deltics.co.nz> writes:
Jolyon> Some Delphi source has been posted, and I find it
Jolyon> interesting that the first attempt in Delphi, written
Jolyon> intuitively, not highly optimised, not especially esoteric
Jolyon> or exotic, was still faster than the best performing,
Jolyon> presumably highly tweaked (so far) C# attempt.
I think it is rather because the arrays work vastly different, so
we're comparing vastly different things here. Let's make a test that
employs hash structures and let's see again.
Jolyon> Performance is - in most cases - a trade off between raw
Jolyon> execution speed and practically maintainable source.
Jolyon> Delphi's - or perhaps rather: Pascal's + native
Jolyon> compilation - great strength imho is that you get great
Jolyon> execution speed without sacrificing maintainability, and
Jolyon> can still get AWESOME execution speed should you
Jolyon> absolutely need it.
I think the test was "rigged". Arrays in Delphi work very different
from arrays in other languages. This test demonstrated that for this
case Delphi's arrays work really well. That's all.
--
Cheers,
Berend de Boer
More information about the Delphi
mailing list