Releases: linkdotnet/StringBuilder
Releases · linkdotnet/StringBuilder
v1.10.1
Changed
- Minor changes and hints for the JIT
v1.10.0
Added
Append(char* value, int length)overload.
Changed
- Better exception when appending
ISpanFormattableand buffer is not large enough.
v1.9.0
Added
- Added
Equals(ReadOnlySpan<char>)overload
Changed
- Slight improvement when appending nullable types to the string builder
v1.8.0
Added
- implicit cast operator from
stringandReadOnlySpan<char>to theValueStringBuilderwith pre-initialized buffer
Changed
- various path optimizations for replace logic to use less allocations while being faster
Removed
- Removed value type overloads for
AppendandInsertand just offerAppend(ISpanFormattable)andInsert(ISpanFormattable), which covers more cases.
v1.7.0
Added
ToString(startIndex, length)to get a substring from the builderAppend(Guid guid)andInsert(Guid guid)as new overload- Added optional format string for
AppendandInsert
v1.6.2
Changed
- Slight improvements for
IndexOfmethods
Fixed
- Some of the exception had the wrong order (message and parameter name)
v1.6.1
Added
- Added
net7.0target
Changed
- Updated docs
v1.6.0
Addeed
- Added overload which allows an initial string for the ValueStringBuilder
- Meziantou.Analyzer as developer dependency to spot issues early on
readonlyhint's on readonly methods
Changed
- Added
StructLayout(LayoutKind.Auto), which makes the ValueStringBuilder not usable for unmanaged code
v1.5.1
Added
- Hot path optimization for strings
v1.5.0
Added
- New easy API for concatenating smaller strings or objects via
ValueStringBuilder.Concat("Hello", " ", "World"); - Smaller performance improvements in internal API's