Einzelnen Beitrag anzeigen

Benutzerbild von Flocke
Flocke

Registriert seit: 9. Jun 2005
Ort: Unna
1.172 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#7

Re: Zeitoptimierung bei Stringzusammensetzung

  Alt 12. Nov 2005, 08:50
Oh Gott, mach das Move weg!

Alt:
Delphi-Quellcode:
   begin
     sx := Char(StrToInt('$' + st[1] + st[2])); // neu
     move(sx[1], st2[i], Length(sx)+1); // neu
   end;
Neu:
Delphi-Quellcode:
   begin
     st2[i] := Chr(StrToInt('$' + st[1] + st[2]));
   end;
Volker
Besucht meine Garage
Aktuell: RtfLabel 1.3d, PrintToFile 1.4
  Mit Zitat antworten Zitat