• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rm-hull / jasengo / 19652964788

24 Nov 2025 11:39PM UTC coverage: 73.529% (-5.2%) from 78.771%
19652964788

Pull #10

github

rm-hull
perf: Implement eager lookahead buffering in reader

The `runeReader` now implements an eager replenishment strategy to
maintain a lookahead buffer. Instead of reading one rune at a time from
the underlying `io.Reader`, it now reads in chunks.

This change reduces the number of system calls and improves parsing
performance on large inputs.

- The `BufferedLength()` method's semantic was changed to return the
  absolute index of the buffer's end.
- The syslog parser example was significantly improved to better
exercise
  the new reader logic.
- A fix was included to properly propagate `io.EOF` as a failure cause.
Pull Request #10: feat: Add `Not` combinator and syslog parsing example

46 of 70 new or added lines in 4 files covered. (65.71%)

48 existing lines in 2 files now uncovered.

475 of 646 relevant lines covered (73.53%)

0.86 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.13
/parser/reader.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc