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

blevesearch / bleve / 35038620957
52%
master: 52%

Build:
Build:
LAST BUILD BRANCH: bitpack-simd
DEFAULT BRANCH: master
Ran 16 Sep 2026 12:08AM UTC
Jobs 1
Files 441
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Sep 2026 06:23PM UTC coverage: 51.716%. First build
35038620957

Pull #2398

github

capemox
Replace prealloc-passing with Release()-based pooling for term postings

TermFieldReader() and prepareField() used to hand rv.postings[i]/
rv.iterators[i] back in as a same-shaped "prealloc" hint on every
lookup, but a recycled reader's shape is frequently wrong (a mix of
1-hit and general-encoded terms on the same field), so the hint was
often discarded and allocated over anyway.

Both call sites now release a value they're done with via
releasePostings() -- a type assertion against the new, optional
segment.Releasable capability (scorch_segment_api bitpack-simd
branch), the same opt-in idiom as segment.OptimizablePostingsIterator
-- and fetch a fresh one with prealloc left nil, letting the segment
implementation's own pool decide what to hand back. Values that don't
implement Releasable (e.g. the unadorned/synthetic iterators built by
query optimization) make this a no-op, same as before.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #2398: Replace prealloc-passing with Release()-based pooling for term postings

12 of 16 new or added lines in 2 files covered. (75.0%)

20161 of 38984 relevant lines covered (51.72%)

0.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
47.11
index/scorch/snapshot_index.go
Jobs
ID Job ID Ran Files Coverage
1 35038620957.1 16 Sep 2026 12:08AM UTC 441
51.72
GitHub Action Run
Source Files on build 35038620957
  • Tree
  • List 441
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2398
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc