Click here to Skip to main content
15,881,173 members
Articles / General Programming / String

.NET String Interning to Improve String Comparison Performance (C# Examples)

Rate me:
Please Sign up or sign in to vote.
4.83/5 (21 votes)
8 May 2018CPOL6 min read 25.4K   33  
It's worthwhile knowing the what, when and why to improving string comparison performance. In this article, I will explore one way, string interning.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United Kingdom United Kingdom
Ben is the Principal Developer at a gov.uk and .NET Foundation foundation member. He previously worked for over 9 years as a school teacher, teaching programming and Computer Science. He enjoys making complex topics accessible and practical for busy developers.


Comments and Discussions