Release v0.5.0
What's Changed
Improves parsing performance by eliminating bounds check on ReadOnlySpan<char>
for char
@RoosterDragon
Breaking changes:
ZeroCopyUtil
TryReadCharSpan
replaced withTryReadChar
.- Methods
IsIdentifier
/IsNumberStart
/IsAsciiDigit
/IsAsciiUppercase
/IsAsciiHexdigit
/IsAsciiAlphabetic
take char rather thanReadOnlySpan<char>
. EqualSpans
method removed
ZeroCopyReader
- method signature
ReadOnlySpan<char> PeekCharSpan(int offset = 0)
changed tochar? PeekChar(int offset = 0)
- method
SeekEol
added. - added methods
TryPeekChar
,TryPeekCharAt
,CurrentChar
, andIndexOfAnyChar
.
- method signature
ParserError
- factory method for
ExpectedTokens
arguments changed
- factory method for
LinguiniParser
- changed to use the new ZeroCopyUtil internally.
Non-breaking changes:
Fluent.Bundle
private bundle method is separated intoAddEntry
andAddEntryOverriding
.
Full Changelog: v0.4.0...v0.5.0