Skip to content

Releases: linkdotnet/StringBuilder

v0.9.5

10 Apr 15:26
4578f1d

Choose a tag to compare

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

09 Apr 14:58

Choose a tag to compare

As well as the other releases, this release will add more API calls.

Added

  • Added AppendJoin methods.

v0.9.3

09 Apr 09:48

Choose a tag to compare

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 the fixed keyword.

v0.9.2

07 Apr 19:33

Choose a tag to compare

Smaller release to bring ValueStringBuilder more en par with System.Text.StringBuilder.

Added

  • Added Remove and Insert methods.

v0.9.1

06 Apr 08:13

Choose a tag to compare

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.StringBuilder to transform into ValueStringBuilder without additional allocation and the other way around.
  • Added Length readonly property which gives the length of the represented string. Added Clear to set the ValueStringBuilder to the initial point.

Full Changelog: https://github.com/linkdotnet/StringBuilder/commits/v0.9.1