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

moonbitlang / core / 6638
89%

Build:
DEFAULT BRANCH: main
Ran 12 Sep 2026 01:19PM UTC
Jobs 1
Files 448
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

12 Sep 2026 01:16PM UTC coverage: 89.33% (-0.001%) from 89.331%
6638

push

github

bobzhang
refactor(hashset): reuse difference in symmetric_difference

HashSet::symmetric_difference repeated the entire body of
HashSet::difference -- new_hashset(default_init_capacity) followed by
self.each(k => if !other.contains(k) { m.add(k) }) -- before adding its
mirrored second phase, so the "keys of self that other lacks" policy had
two owners 11 lines apart under the same documented semantics.

Delegate that first phase to self.difference(other) instead. The removed
lines are byte-identical to the delegated statements, so the result keeps
the same membership (self union other minus self intersect other), the
same accumulator, length() and capacity(), the same Robin Hood slot and
iteration order, and the same Hash/Eq call order; neither operand is
mutated and no public signature or .mbti entry changes.

Co-Authored-By: SeekMoon <seekmoon@moonbitlang.com>

1 of 1 new or added line in 1 file covered. (100.0%)

16443 of 18407 relevant lines covered (89.33%)

272786.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6638.1 12 Sep 2026 01:19PM UTC 449
89.35
GitHub Action Run
Source Files on build 6638
  • Tree
  • List 448
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a0f0fb87 on github
  • Prev Build on main (#6636)
  • Next Build on main (#6641)
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