5
votes
Vote UpVote

String concatenation redux

DelphiTools – In addition to several fixes and improved error detection and messages (thanks Alexey Kasantsev), the DWScript SVN version now includes string concatenation improvement for the common “s := s + …” case. Just for illustration, the execution times for the following test snippet for i:=1 to 5000000 do buf := buf + IntToStr(i); are right now on my machine: Delphi: 670 ms C#: 910 ms (using StringBuilder) DWScript: 1430 ms C#: like… forever (using string concatenation) and when appending constant strings for i:=1 to 5000000 do buf := buf + 'abc'; the timings are: ...
Favorite? Off-Topic? Eric @ 2010-12-15 16:40

Statistics

Visits: 683
Votes: 5
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Charles Ardour
Daniele Teti
knight_killer
stukelly
Zzzzz
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)