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

fb55 / entities / 17417266985

02 Sep 2025 09:59PM UTC coverage: 82.713% (+0.02%) from 82.689%
17417266985

Pull #1944

github

fb55
Improve decode trie size

Reduced length of the encoded trie by 21% for HTML (from 15,242 words (uint16) to 12075), by:
- Adding a semicolon flag on value nodes, which means semicolons don't have to be encoded anymore.
- Compacting dict keys: two keys are now stored in each word, instead of one
- Compacting runs of 3 or more characters: successive characters are now also stored as two characters per word

Also reduces the size of the encoded table by 32% (after the previous change) by encoding it as base64.
Pull Request #1944: Improve decode trie size

260 of 285 branches covered (91.23%)

Branch coverage included in aggregate %.

235 of 278 new or added lines in 9 files covered. (84.53%)

2 existing lines in 1 file now uncovered.

984 of 1219 relevant lines covered (80.72%)

290427.78 hits per line

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

96.32
/src/decode.ts


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