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

guggero / btcd / 22539581393

01 Mar 2026 08:33AM UTC coverage: 54.811% (-0.6%) from 55.419%
22539581393

push

github

guggero
rpcclient: speed up string parsing

This commit replaces the parsing of a JSON string with a simple
prefix/suffix replacement of the quotes. That is much faster than
allocating memory for a JSON parser.
Where possible, we also directly decode the hex with a decoder to
further reduce the number of allocations.

6 of 20 new or added lines in 1 file covered. (30.0%)

1391 existing lines in 31 files now uncovered.

31126 of 56788 relevant lines covered (54.81%)

429851.52 hits per line

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

98.49
/txscript/opcode.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