j-mie6 / parsley

A fast and modern parser combinator library for Scala
https://j-mie6.github.io/parsley/
BSD 3-Clause "New" or "Revised" License
175 stars 15 forks source link

Optimised the general unicode combinators for `Lexer` #153

Closed j-mie6 closed 1 year ago

j-mie6 commented 1 year ago

Optimises the generic combinators used for unicode consumption: satisfyUtf16 and charUtf16. The former was previously using a flatMap, so this should be a substantial improvement.

codeclimate[bot] commented 1 year ago

Code Climate has analyzed commit 2b24e6bf and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Style 1

The test coverage on the diff in this pull request is 94.8% (50% is the threshold).

This pull request will bring the total coverage in the repository to 90.1%.

View more on Code Climate.