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

IBM / fp-go / 28055202911
63%

Build:
DEFAULT BRANCH: main
Ran 23 Jun 2026 08:34PM UTC
Jobs 10
Files 980
Run time 4min
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

23 Jun 2026 08:33PM UTC coverage: 62.794% (-0.02%) from 62.816%
28055202911

push

github

web-flow
perf(option): make AltAllArray/AltAllSeq allocation-free (#187)

AltAllArray and AltAllSeq folded over the input via the generic lazy Alt
combinator (internal/alt), which wraps every element in an F.Constant
thunk closure — one heap allocation per element. Because option's Alt just
keeps the current value when it is Some, the identical result is computed
by a direct first-Some scan with zero allocations.

Behaviour is unchanged: startWith has priority, otherwise the first Some in
the input is returned (else the last value); AltAllSeq still consumes the
whole sequence. Covered by the existing BenchmarkAltAll* / TestAltAll* suites.

Measured with the existing benchmarks (benchstat, count=10):
  AltAllArray:  12 -> 0 allocs/op,  320 B -> 0 B/op
  AltAllSeq:    15 -> 0 allocs/op,  392 B -> 0 B/op


Claude-Session: https://claude.ai/code/session_01Cm6KJg4HxtUZH997Gbcjcf

Signed-off-by: Nishant Mehta <nishantmehta.n@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

32987 of 52532 relevant lines covered (62.79%)

536.34 hits per line

Coverage Regressions

Lines Coverage ∆ File
16
0.0
-100.0% internal/alt/alt.go
2
97.18
-2.82% iterator/iter/mergeall.go
Jobs
ID Job ID Ran Files Coverage
1 v1-go-1.25.x - 28055202911.1 23 Jun 2026 08:35PM UTC 498
27.22
GitHub Action Run
2 v1-go-1.24.x - 28055202911.2 23 Jun 2026 08:34PM UTC 498
27.22
GitHub Action Run
3 v1-go-1.21.x - 28055202911.3 23 Jun 2026 08:34PM UTC 456
31.83
GitHub Action Run
4 v1-go-1.26.x - 28055202911.4 23 Jun 2026 08:35PM UTC 498
27.22
GitHub Action Run
5 v1-go-1.22.x - 28055202911.5 23 Jun 2026 08:34PM UTC 498
27.22
GitHub Action Run
6 v2-go-1.24.x - 28055202911.6 23 Jun 2026 08:37PM UTC 881
57.99
GitHub Action Run
7 v2-go-1.26.x - 28055202911.7 23 Jun 2026 08:37PM UTC 881
57.99
GitHub Action Run
8 v1-go-1.23.x - 28055202911.8 23 Jun 2026 08:34PM UTC 498
27.22
GitHub Action Run
9 v2-go-1.25.x - 28055202911.9 23 Jun 2026 08:37PM UTC 881
57.99
GitHub Action Run
10 v1-go-1.20.x - 28055202911.10 23 Jun 2026 08:34PM UTC 456
31.83
GitHub Action Run
Source Files on build 28055202911
  • Tree
  • List 980
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28055202911
  • b14304fb on github
  • Prev Build on main (#28037016585)
  • Next Build on main (#28058722291)
  • 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