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

moonbitlang / core / 2425
96%

Build:
DEFAULT BRANCH: main
Ran 20 Jan 2026 05:46AM UTC
Jobs 1
Files 273
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 Jan 2026 05:46AM UTC coverage: 96.148% (+0.002%) from 96.146%
2425

push

github

bobzhang
perf: only grow HashMap/Map when actually inserting new entries

Optimize set_with_hash to check the grow threshold only when we need
to insert a new entry, not when updating an existing key. This avoids
unnecessary O(n) rehash operations in update-heavy workloads.

Before: grow check happens before key lookup
After: grow check happens only when inserting (key not found)

This also makes merge_in_place(self) a complete no-op without needing
the physical_equal check, though we keep that check as a fast path.

Added tests verifying that updating existing keys doesn't grow capacity.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

12 of 12 new or added lines in 2 files covered. (100.0%)

11107 of 11552 relevant lines covered (96.15%)

417447.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2425.1 20 Jan 2026 05:46AM UTC 274
96.16
GitHub Action Run
Source Files on build 2425
  • Tree
  • List 273
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8a1e3977 on github
  • Prev Build on main (#2422)
  • Next Build on main (#2432)
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