Releases: linkdotnet/StringBuilder
Releases · linkdotnet/StringBuilder
v1.4.1
Added
- Smaller internal API improvements
- Smaller performance improvements
v1.4.0
Added
- Added the
scoped
keyword to simplify code and allow more scenarios for the user
Fixed
Grow
allowed values, which would truncate the internally represented string
v1.3.0
Fixed
- Fixed an issue where memory is not returned to the ArrayPool
- Fixed an issue where memory could be overwritten, giving the chance to tamper with the internal array
v1.2.0
Added
ValueStringBuilder
constructor can take initial buffer instead of creating it itself.- More compiler hints for inlining.
v1.1.0
Added
Contains
method.
Fixed
- Smaller tweaks in CI/CD
IndexOf
andLastIndexOf
did not return 0 when passing an empty string. Now it is aligned tostring.IndexOf
.
Removed
- Debug symbol package (snupkg) due to the many constraints of NuGet.org
v1.0.1
Added
- Enabled some optimization hints for the compiler.
- Include debug symbols when publishing to NuGet for easier debugging experience
v1.0.0
Added
LastIndexOf
to find the last occurence in the represented string.ReplaceGeneric<T>
added for generic replacement in the string builder. Can have performance / allocation penalties in comparison to the non-generic version.
v0.9.5
Added
IndexOf
methods to retrieve the index of the first occurence of a word.Capacity
to give the user an indication if the internal array will grow soon.EnsureCapacity
to 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
ArgumentOutOfRange
exception is thrown.
v0.9.4
As well as the other releases, this release will add more API calls.
Added
- Added
AppendJoin
methods.
v0.9.3
Smaller release which adds more functions to the library.
Added
- Added
Replace
methods which also tries to have the least amount of allocations. - Added
GetPinnableReference
which allows to get the content via thefixed
keyword.