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

moonbitlang / core / 8387
87%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 06:13AM UTC
Jobs 1
Files 696
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

18 Nov 2026 06:11AM UTC coverage: 88.288% (-0.001%) from 88.289%
8387

push

github

bobzhang
perf(builtin): fold ASCII case only on the deciding code unit

compare_ignore_ascii_case folded both code units at every position. Two
distinct units are equal under ASCII folding exactly when they differ only
in bit 5 and the one with bit 5 set is 'a'..'z', so test that instead and
fold only at the position that decides the result. equal_ignore_ascii_case
uses the same pair test in place of its two folds, and the fold helper's
range check becomes one wrapping compare.

Adds a test over every pair of 262 selected single code units (Latin-1 plus
units whose low byte is an ASCII letter, and fullwidth A/a) against a naive
fold, covering the '@'/'`', '['/'{', U+0141/U+0161 near-misses a bare
`| 0x20` gets wrong, plus same-case / mixed-case benches.

Codex review: "The predicate accepts exactly the 52 ordered ASCII
uppercase/lowercase pairs ... ordering is preserved for every input."

Signed-off-by: Codex CLI <codex@openai.com>

10 of 11 new or added lines in 1 file covered. (90.91%)

25697 of 29106 relevant lines covered (88.29%)

776011.42 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
99.16
-0.41% builtin/stringview.mbt
Jobs
ID Job ID Ran Files Coverage
1 8387.1 18 Nov 2026 06:13AM UTC 696
88.29
GitHub Action Run
Source Files on build 8387
  • Tree
  • List 696
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cddfb6e2 on github
  • Prev Build on main (#8384)
  • Next Build on main (#8391)
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