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

iskorotkov / avro / 22396624265

25 Feb 2026 11:10AM UTC coverage: 94.579% (-0.02%) from 94.595%
22396624265

push

github

iskorotkov
perf(map): reuse existing values and defer creation with size hint

Optimize map decoding with two complementary changes:
- Reuse existing map values instead of allocating new ones (typed decode: 14-16% faster,
  60% less memory, ~99% fewer allocs)
- Defer map creation until first block and use block length as size hint (generic decode:
  up to 7% faster, 15% less memory)

19 of 21 new or added lines in 1 file covered. (90.48%)

6385 of 6751 relevant lines covered (94.58%)

45786.88 hits per line

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

97.73
/codec_map.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