Intern Pool Improvements between Various .NET Framework versions

Monday, October 8, 2012

As you probably know, .NET supports string interning for better memory usage of .NET applications. String literals are automatically interned by the runtime, while any other string can be interned by an explicit call to String.Intern. I will not go into details regarding string interning, if you are not familiar with the concept, you can get started by reading the MSDN documentation for the String.Intern method. In this post, I would like to write about one of the implementation details of the .NET intern pool, specifically, where it is stored and how the storage strategy was changed between recent...
no comments