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

unicode-org / icu4x / 11832307727
73%

Build:
DEFAULT BRANCH: main
Ran 14 Nov 2024 07:15AM UTC
Jobs 1
Files 976
Run time 2min
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

14 Nov 2024 07:03AM UTC coverage: 75.293% (-0.005%) from 75.298%
11832307727

push

github

web-flow
Reduce stack size of DecimalSymbolsV1 (#5804)

Fixes https://github.com/unicode-org/icu4x/issues/4437


This doesn't work yet: there's no easy way to get Bake impls for custom
VarULE types since `from_byte_slice_unchecked` can't be called in const
contexts (since you can't do trait stuff in non-const contexts: in
theory this function is very const-capable)

I chose to use `make_varule` but VarTupleNULE would work as well (and
plus we can give it the relevant Bake impl if we want). I wrote this PR
to encapsulate things so that swapping the internals is easier

I think I'll make this work by implementing ZeroCow:
https://github.com/unicode-org/icu4x/issues/5561


<!--
Thank you for your pull request to ICU4X!

Reminder: try to use [Conventional
Comments](https://conventionalcomments.org/) to make comments clearer.

Please see
https://github.com/unicode-org/icu4x/blob/main/CONTRIBUTING.md for
general
information on contributing to ICU4X.
-->

73 of 97 new or added lines in 8 files covered. (75.26%)

17 existing lines in 4 files now uncovered.

54412 of 72267 relevant lines covered (75.29%)

655123.4 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
88.24
0.0% components/decimal/src/format.rs
1
76.0
0.0% components/decimal/src/lib.rs
1
92.86
provider/data/decimal/data/decimal_symbols_v2_marker.rs.data
1
86.96
0.0% provider/source/src/decimal/decimal_pattern.rs
1
80.33
0.7% provider/source/src/decimal/symbols.rs
7
79.63
-14.81% components/decimal/src/provider.rs
12
0.0
0.0% ffi/capi/src/decimal.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
98.25
3.51% components/experimental/src/dimension/currency/format.rs
3
79.63
-14.81% components/decimal/src/provider.rs
3
0.0
0.0% ffi/capi/src/decimal.rs
10
85.06
-10.46% utils/zerovec/src/cow.rs
Jobs
ID Job ID Ran Files Coverage
1 11832307727.1 14 Nov 2024 07:15AM UTC 976
75.29
GitHub Action Run
Source Files on build 11832307727
  • Tree
  • List 976
  • Changed 317
  • Source Changed 20
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11832307727
  • ef5fda1e on github
  • Prev Build on main (#11827190411)
  • Next Build on main (#11847208887)
  • Delete
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