StringBuilderPool
Provides a pool of used / recycled resources.
Gets or sets whether string builder pooling is disabled. When disabled, Obtain() will always return a new instance.
Disabling will increase memory usage and GC pressure, but may improve performance in scenarios with high
parallel processing.
Gets or sets the maximum number of instances - at least 1.
Gets or sets the max. capacity per instance - at least 85000.
Either creates a fresh stringbuilder or gets a (cleaned) used one. If IsPoolingDisabled is set to true, a new instance is always returned."/>
Returns the given stringbuilder to the pool and gets the current
string content.