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

moonbitlang / core / 6745
89%

Build:
DEFAULT BRANCH: main
Ran 24 Sep 2026 08:12AM 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

24 Sep 2026 08:08AM UTC coverage: 89.684% (+0.007%) from 89.677%
6745

push

github

web-flow
perf(regex): reuse the positions buffer across execute calls (#4267)

`execute` allocated a fresh positions array per call and checked its
length on every character. `Regex` now tracks `max_slot`, the largest slot
of any stabilized state (and of final-delta states), and keeps one scratch
buffer sized to it, so the per-character write is unchecked; the buffer is
re-checked only in the pending branch after a new state may have raised
`max_slot`. `execute` runs no caller code, so the buffer cannot be
re-entered, and every slot a result reads was written during the same call.

Native 1 MB scan 1.86 -> 1.55 ms, 20k-filename pattern 2.18 -> 1.88 ms,
34 short lines 4.97 -> 4.47 us; js 6.9 -> 5.7 ms. No interface change.
Part of #4263.

Codex CLI review: "Stabilization updates max_slot before the pending branch
calls ensure ... Each transition inherits initialized slots or assigns new
marks to its destination slot, which is written before checking for a
match. Allocation excludes surviving marks' slots, including nested
threads."

Signed-off-by: Codex CLI <codex@openai.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

11 of 11 new or added lines in 4 files covered. (100.0%)

16535 of 18437 relevant lines covered (89.68%)

419367.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6745.1 24 Sep 2026 08:12AM UTC 448
89.68
GitHub Action Run
Source Files on build 6745
  • Tree
  • List 448
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7547b846 on github
  • Prev Build on main (#6743)
  • Next Build on main (#6750)
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