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

gaissmai / bart / 26016311828 / 1
91%
main: 91%

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

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

6754 of 7442 relevant lines covered (90.76%)

1.02 hits per line

Source Files on job 26016311828.1
  • Tree
  • List 19
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26016311828
  • 521e6bde on github
  • Prev Job for on devel (#25903025071.1)
  • 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