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

nats-io / nats-server / 10210107397

01 Aug 2024 05:25PM UTC coverage: 85.112% (+0.03%) from 85.079%
10210107397

push

github

web-flow
Optimise sublist matching for gateways, client replies (#5736)

This should reduce the number of string allocations on some gateway hot
paths quite considerably.

Note that `MatchBytes()` passes in a new option to the internal
`match()` function to ensure a copy is taken when writing to the cache
to ensure we don't create race conditions from memory reuse. This
doesn't affect `Match()` so the behaviour there is unchanged.

Signed-off-by: Neil Twigg <neil@nats.io>

66096 of 77658 relevant lines covered (85.11%)

1099496.42 hits per line

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

84.37
/src/github.com/nats-io/nats-server/server/raft.go


Source Not Available

The file "src/github.com/nats-io/nats-server/server/raft.go" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

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

© 2025 Coveralls, Inc