l1,000,000 string concatenations
§C#: 190 seconds
§C# with StringBuilder: 0.3 seconds
§VFP: 3 seconds
§ASP 2.0 (not ASP.NET): 7 seconds
Ø
lSum i (i=1 to 1,000,000)
§C# array: 0.1 seconds (numbers stored)
§C# array list: 15 seconds (numbers stored)
§C# collection: 0.1 seconds (numbers generated by method
calls)
§C# dictionary: 4 seconds (numbers stored)
§VFP code: 1.2 seconds (calculation; nothing stored)
§VFP build cursor and sum it: 4.5 seconds (numbers
stored)