Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@shcabin
Copy link
Contributor

@shcabin shcabin commented Oct 2, 2025

PR Details

Description

fix format '?' not filling enough spaces.
Partial test case results are inconsistent with Microsoft 365 results.

Related Issue

#2080

Motivation and Context

How Has This Been Tested

This has been tested in the unit test and with an actual file.
image

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

…y package `golang.org/x/crypto` (qax-os#2214)

- Speedup UTF16 string length count, back port countUTF16String function from PR 2206
- Update dependencies modules
- Update docs for the AddChart function
@shcabin
Copy link
Contributor Author

shcabin commented Oct 2, 2025

Performance improvements due to delayed conversion of fraction to strings

goos: linux
goarch: amd64
pkg: github.com/xuri/excelize/v2
cpu: 12th Gen Intel(R) Core(TM) i5-12400F
BenchmarkNumFmtPlaceHolder

new code:
BenchmarkNumFmtPlaceHolder-12               1597           2256717 ns/op         2068054 B/op      75940 allocs/op

old code:
BenchmarkNumFmtPlaceHolder-12                997           3558671 ns/op         2308233 B/op     135981 allocs/op```

@codecov
Copy link

codecov bot commented Oct 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.24%. Comparing base (a44e440) to head (0636d24).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2216   +/-   ##
=======================================
  Coverage   99.24%   99.24%           
=======================================
  Files          32       32           
  Lines       30730    30761   +31     
=======================================
+ Hits        30499    30530   +31     
  Misses        153      153           
  Partials       78       78           
Flag Coverage Δ
unittests 99.24% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xuri xuri added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 3, 2025
@shcabin shcabin force-pushed the fix/DigitPlaceholder branch from b530856 to 28a977a Compare October 3, 2025 17:10
@xuri xuri moved this to Bugfix in Excelize v2.10.0 Oct 4, 2025
Copy link
Member

@xuri xuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Thanks for your contribution.

@xuri xuri merged commit c12dca0 into qax-os:master Oct 5, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

No open projects
Status: Bugfix

Development

Successfully merging this pull request may close these issues.

3 participants