Writing Efficient String Functions in C#

added by mopen
2/12/2010 3:58:22 AM


To write efficient string handling functions, it is important to understand the characteristics of string objects in C#.


2/12/2010 6:06:37 AM
Wow, that's one of the most incorrect articles I've ever read. The author clearly has no real idea about how memory allocation works (value types are not stored on the stack, they are stored inline, so they will be on the heap if they are stored in a reference type such as an array) and has clearly never heard of StringBuilder which is rather important if you want to write efficient string functions.

2/17/2010 11:41:20 AM
Yep, this is pretty inept however you look at it.