Releases: linkdotnet/StringBuilder
Releases · linkdotnet/StringBuilder
v0.9.5
Added
IndexOfmethods to retrieve the index of the first occurence of a word.Capacityto give the user an indication if the internal array will grow soon.EnsureCapacityto set the buffer size to avoid re-allocation in a hot path.
Fixed
- Some methods throw the wrong exception. When an index is "invalid" then a
ArgumentOutOfRangeexception is thrown.
v0.9.4
As well as the other releases, this release will add more API calls.
Added
- Added
AppendJoinmethods.
v0.9.3
Smaller release which adds more functions to the library.
Added
- Added
Replacemethods which also tries to have the least amount of allocations. - Added
GetPinnableReferencewhich allows to get the content via thefixedkeyword.
v0.9.2
Smaller release to bring ValueStringBuilder more en par with System.Text.StringBuilder.
Added
- Added
RemoveandInsertmethods.
v0.9.1
This release brings extensions to the ValueStringBuilder API. For v1.0 the ValueStringBuilder tries to be en par with theSystem.Text.StringBuilder.
Added
- Added extension method for
System.Text.StringBuilderto transform intoValueStringBuilderwithout additional allocation and the other way around. - Added
Lengthreadonly property which gives the length of the represented string. AddedClearto set theValueStringBuilderto the initial point.
Full Changelog: https://github.com/linkdotnet/StringBuilder/commits/v0.9.1