Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Terrible slowdown on .NET processing
Message
De
05/05/2006 06:48:42
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
 
 
À
05/05/2006 02:25:01
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01119485
Message ID:
01119525
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform