-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add size-optimized FFI functions for Locale and DataProvider #962
Conversation
Pull Request Test Coverage Report for Build f4c807cf2c1cd4b83f44009de1a393a49a5e16ea-PR-962
💛 - Coveralls |
ICU4XLocale* locale = ICU4XLocale_create("bn", 2); | ||
ICU4XCreateDataProviderResult result = ICU4XDataProvider_create_static(); | ||
ICU4XLocale* locale = ICU4XLocale_create_bn(); | ||
ICU4XCreateFixedDecimalFormatDataProviderResult result = ICU4XFixedDecimalFormatDataProvider_create_static(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thought: Given these changes should we split this example into an entirely separate one? That way we can have a "normal" FDF example as a real example, and then the size optimized one can be as weird as it likes
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
Notice: the branch changed across the force-push!
~ Your Friendly Jira-GitHub PR Checker Bot |
Codecov Report
@@ Coverage Diff @@
## main #962 +/- ##
==========================================
- Coverage 75.05% 74.99% -0.07%
==========================================
Files 215 216 +1
Lines 12652 12732 +80
==========================================
+ Hits 9496 9548 +52
- Misses 3156 3184 +28
Continue to review full report at Codecov.
|
The CI error is
I cannot reproduce this locally on the specified toolchain version (nightly-2021-02-28), although I can reproduce it on other toolchain versions like nightly-2021-08-18. I suspect the issue is most likely a different version of Should I:
|
in test-capi-tiny |
Thoughts on the question I posed in my previous post? |
I'd remove the CI for now and document the specific steps. |
This PR copies the fixeddecimal example to use small-code functions.
optim5.elf is 56 KB after this change (60 KB if I keep the additional coverage tests).