|
|
Browse by Tags
All Tags » CLR
-
Subject
As we know StringBuilder builds strings faster than + operator or String.Concat() method. Also StringBuilder with specified capacity performs faster than with default one.
But how fast StringBuilder is?
I created simple application to measure performance of different approaches of string concatenations. ...
-
Technorati tags: .Net, C#, CRL, String, Compare, Equals, CompareTo, Intern
.Net Framework gives us several tools how to compare two strings. We can use String.Equals(), String.Compare(), StringCompareTo(), etc. What we are going to discover now it is what is the performance impact of each of this methods.
Let's first take a ...
|
|
|