It's wonderful how smart delphi compiler is

It's wonderful how smart delphi compiler is

0054DD53 8945E8 mov [ebp-$18],eax
htmlpars.pas.1981: C:=ord(PH.Name[StringStart]) - ord(A1);
0054DD56 8B45E8 mov eax,[ebp-$18]
0054DD59 8B00 mov eax,[eax]

Comments

  1. Alexandre Machado No, I mean that line mov eax, [ebp-$18] is not necessary because eax already contain this value

    ReplyDelete
  2. Asbjørn Heid I've downloaded your speed tests. In my machine, your Delphi EXE runs 2-3% FASTER than the Java app. And almost twice faster than C# app. I also recompiled it using XE8 and the result is the same, no difference in times...

    ReplyDelete

Post a Comment