Originally posted by: dighn
Originally posted by: Kilrsat
Athlon XP (Barton) 2500+ (currently running stock).
1024mb of pc3200
Abit NF7-S
Seagate 200GB SATA drive
Average of two runs of your original benchmark: 2230
Average of two runs of a tweaked version of your benchmark: 4832.5
A few simple changes really make your code much better 🙂
where's the tweaked version??? or did you tweak the decompiled src yourself?
Tweaked it myself. I'll put it up somewhere in a minute. Basically it cuts down on the number of objects created. Instead of creating a StringBuilder, appending two strings to it, then sending it back to a string (only to create another one and repeat the process the next time through), it just creates one StringBuilder and keeps working off that single object.