Skip to content

Commit

Permalink
Update CHANGES.md
Browse files Browse the repository at this point in the history
Updates for [axuno#228](axuno#228)
  • Loading branch information
axunonb committed Mar 9, 2022
1 parent 2a3398b commit d0c8d65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ What's new in v3.0.0-alpha.4
====

### 1. Significant boost in performance
After implementing a zero allocation `ValueStringBuilder` based on [ZString](https://github.com/Cysharp/ZString) with [#193](https://github.com/axuno/SmartFormat/pull/193):
After implementing a zero allocation `ValueStringBuilder` based on [ZString](https://github.com/Cysharp/ZString) with [#193](https://github.com/axuno/SmartFormat/pull/193) and [#228](https://github.com/axuno/SmartFormat/pull/228):
* Parsing is 10% faster with 50-80% less GC and memory allocation
* Formatting is up to 40% faster with 50% less GC and memory allocation
* Since [#228](https://github.com/axuno/SmartFormat/pull/228) there no more `Cysharp.Text` classes used in the `SmartFormat` namespace
* Created `ZStringBuilder` as a wrapper around `Utf16ValueStringBuilder`.
* Replaced occurrences of `Utf16ValueStringBuilder` with `ZStringBuilder`.

More optimizations:

Expand Down

0 comments on commit d0c8d65

Please sign in to comment.