kellyethridge / VBCorLib

The VBCorLib framework brings many of the powerful .NET classes to VB6.
http://www.kellyethridge.com/vbcorlib/
MIT License
112 stars 28 forks source link

StringBuilder is not storing capacity value when set #66

Closed kellyethridge closed 3 years ago

kellyethridge commented 4 years ago

When setting the capacity through StringBuilder.Capacity or StringBuilder.EnsureCapacity the capacity value is not being stored. This causes severe performance issues because the backing array is being reallocated unnecessarily.