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

gaissmai / bart / 26016311828
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: devel
DEFAULT BRANCH: main
Ran 18 May 2026 06:00AM UTC
Jobs 1
Files 19
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

18 May 2026 05:55AM UTC coverage: 90.755% (-0.02%) from 90.771%
26016311828

Pull #379

github

gaissmai
new FastNode implementation

Changed from fixed-size 256-slot arrays (the original ART design)
to popcount-compressed sparse arrays plus a pre-computed
childRankCache[256]uint8 to improve the level traversing speed.

The allotment propagation mechanism is removed in favor of
the slower bitset-intersection-based LPM lookup.

The Fast lookup path is refactored to use the same stack-based
backtracking pattern already used by Table.Lookup.

The zero-sized-type restriction on Fast is also lifted, since
the new implementation stores values directly rather than requiring
distinct pointer identity.

FastNode memory reduced:
from a fixed 4,168 bytes to ~368 bytes base + sparse items;
the allot propagation loop and *any pointer indirection are eliminated.

childRankCache: a 256-byte array caching the sparse-array rank for each
child address, maintained by O(256) increment/decrement loops on insert/delete;
MustGetChild becomes a simple two-array lookup.

ZST restriction removed: sync.Once + PanicOnZST replaced by [0]sync.Mutex
(noCopy sentinel for go vet), allowing Fast[struct{}] and similar types.
Pull Request #379: new FastNode implementation

193 of 195 new or added lines in 13 files covered. (98.97%)

3 existing lines in 2 files now uncovered.

6754 of 7442 relevant lines covered (90.76%)

1.02 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
93.06
-2.57% internal/nodes/fast.go

Coverage Regressions

Lines Coverage ∆ File
2
93.06
-2.57% internal/nodes/fast.go
1
92.16
0.16% internal/nodes/lite.go
Jobs
ID Job ID Ran Files Coverage
1 26016311828.1 18 May 2026 06:00AM UTC 19
90.76
GitHub Action Run
Source Files on build 26016311828
  • Tree
  • List 19
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #379
  • PR Base - main (#25903025071)
  • Delete
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