Whiteknight / ParserObjects

C# library for parser combinators
https://whiteknight.github.io/ParserObjects
Apache License 2.0
6 stars 0 forks source link

StreamByteSequence optimize GetBetween() #192

Closed Whiteknight closed 8 months ago

Whiteknight commented 1 year ago

Keep track of the current buffer start position and the total numbers of bytes in the buffer, so we can optimize .GetBetween() with that info.

Whiteknight commented 8 months ago

This is either already done or I no longer understand the ask. I'm marking this closed.