Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Terrible slowdown on .NET processing
Message
From
05/05/2006 06:48:42
 
 
To
05/05/2006 02:25:01
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01119485
Message ID:
01119525
Views:
13
>What is going on? Why is it that simply adding a longer string causes the process to crawl?
I read in a perf discussion centering on when to use strings vs. StringBuilder that for a few operations working on strings is more performant than appending on stringbuilder. I think there was a limit on the number of additions optimized per line, although I am not sure.

OTOH, if you add larger strings, the memory reshuffling is greater and that can lead to non-linaer effects.

HTH

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform