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

enetx / g / 22233454591
89%

Build:
DEFAULT BRANCH: main
Ran 20 Feb 2026 05:09PM UTC
Jobs 1
Files 50
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

20 Feb 2026 05:06PM UTC coverage: 89.218% (-0.2%) from 89.376%
22233454591

push

github

enetx
perf: optimize deque, heap, map, slice, and string internals

- Deque: extract copyToContiguous helper using copy/clear builtins,
  replace per-element realIndex loops with direct range slices in
  Iter, Contains, and String; bulk-copy in DequeOf, Clone, Reserve,
  ShrinkToFit, MakeContiguous, Slice
- Heap: switch to heapify for bulk Push (O(n) vs O(n log n))
- Map: build MapOrd via direct append instead of Insert in Ordered()
- MapOrd: replace iterator chains with direct loops and pre-allocated
  slices in Map, Safe, Keys, Values
- Slice: remove closure in SubSlice loop condition; two explicit loops
- Slice.Iter: use copy instead of SeqSlice.Collect in SeqSlices.Collect
- String: cache .Std() conversions outside hot loops in Chunks,
  Truncate, writePadding; use rand.N + []byte for default Random
  charset; inline f.Contains/StartsWith/EndsWith as strings.*
- f: cache type conversions outside closures in Contains,
  ContainsAnyChars, StartsWith, EndsWith
- Tests: add TestMapOrdKeys, TestMapOrdToMap, TestMapOrdToSafe

130 of 166 new or added lines in 8 files covered. (78.31%)

1 existing line in 1 file now uncovered.

5395 of 6047 relevant lines covered (89.22%)

14015.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
7
87.17
-0.97% string.go
29
85.61
-5.05% deque.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.17
-0.97% string.go
Jobs
ID Job ID Ran Files Coverage
1 22233454591.1 20 Feb 2026 05:09PM UTC 50
89.22
GitHub Action Run
Source Files on build 22233454591
  • Tree
  • List 50
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2858f1bf on github
  • Prev Build on main (#22200209868)
  • Next Build on main (#22254013504)
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