public static string ReturnAndFree(StringBuilder builder) { SharedPools.Default <StringBuilder>().ForgetTrackedObject(builder); return(builder.ToString()); }
public static StringBuilder Allocate() { return(SharedPools.Default <StringBuilder>().AllocateAndClear()); }
public static void Free(StringBuilder builder) { SharedPools.Default <StringBuilder>().ClearAndFree(builder); }