Reducing allocations by caching with StringBuilderCache: A deep dive on StringBuilder - Part 5

added by DotNetKicks
8/10/2021 10:39:19 AM

575 Views

So far in this series we've looked in detail at StringBuilder, and how it works under-the-hood. In this post I look at a different type, the internal StringBuilderCache type. This type is used internally in .NET Core and .NET Framework to reduce the cost of creating a StringBuilder.


0 comments