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

moonbitlang / core / 3138
96%

Build:
DEFAULT BRANCH: main
Ran 23 Mar 2026 09:12AM UTC
Jobs 1
Files 320
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

23 Mar 2026 09:11AM UTC coverage: 95.741% (+0.002%) from 95.739%
3138

push

github

bobzhang
perf(string): delay StringBuilder allocation in Regex::replace_by

replace_by was always creating a StringBuilder and materializing a
new string, even when the regex didn't match anything. For large
input strings with no matches, this turned a cheap check into an
O(n) copy.

Fix: delay buffer creation until the first match is found. When
there are no matches, return the original string view directly
without any allocation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

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

13825 of 14440 relevant lines covered (95.74%)

176034.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3138.1 23 Mar 2026 09:12AM UTC 321
95.75
GitHub Action Run
Source Files on build 3138
  • Tree
  • List 320
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5c8bcb4a on github
  • Prev Build on main (#3134)
  • Next Build on main (#3149)
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