Skip to content

Commit

Permalink
Update CHANGES for PR axuno#189
Browse files Browse the repository at this point in the history
  • Loading branch information
axunonb committed Mar 9, 2022
1 parent 3065700 commit 6e88d45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ v3.0.0-alpha.1

### Current changes merged into the `version/v3.0` branch:

#### Target frameworks
#### Target frameworks ([#189](https://github.com/axuno/SmartFormat/pull/189))

* Changed `netstandard2.0` to `netstandard2.1`.
* `net461` support unchanged.
* Added package `System.Memory`

#### Remove repetitive substring allocations
#### Remove repetitive substring allocations ([#189](https://github.com/axuno/SmartFormat/pull/189))

Connected modifications:

* Added method `Write(ReadOnlySpan<char> text)` to `IFormattingInfo`
* Generated substrings are cached in classes `Format`, `FormatItem`, `LiteralText`, `Placeholder` and `Selector`.
* Evaluating escaped characters for `Placeholder.FormatterOptions` and `LiteralText` work without heap memory allocation.

#### Alignment operator inheritance is optimized
#### Alignment operator inheritance is optimized ([#189](https://github.com/axuno/SmartFormat/pull/189))

* Alignment implementation introduced with PR [#174](https://github.com/axuno/SmartFormat/pull/174) is modified for better performance
* Added method `Placeholder.AddSelector`
* `Placeholder.Selectors` is now internal. Selectors are accessible with `IReadOnlyList<Selector> Placeholder.GetSelectors()`.

#### DictionarySource performance improved
#### DictionarySource performance improved ([#189](https://github.com/axuno/SmartFormat/pull/189))

* Implemented suggestion in issue [#186](https://github.com/axuno/SmartFormat/issues/186) for better speed and less GC pressure.
* Side effect: We're using the `CaseSensitivityType` of the dictionary for getting the value for a key. `Settings.GetCaseSensitivityComparison()` will not be applied.
Expand Down

0 comments on commit 6e88d45

Please sign in to comment.