Skip to content
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

CLDR-17327 speedup VoteResolver's transcript #3462

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

srl295
Copy link
Member

@srl295 srl295 commented Jan 23, 2024

  • skip String.format when unneeded
  • defer all transcript operations until needed

measured as between a 5 and 10x speedup

CLDR-17327

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

- skip String.format when unneeded
- defer all transcript operations until needed

measured as between a 5 and 10x speedup
@srl295 srl295 requested a review from btangmu January 23, 2024 22:17
@srl295 srl295 self-assigned this Jan 23, 2024
btangmu
btangmu previously approved these changes Jan 24, 2024
Copy link
Member

@btangmu btangmu left a comment

Choose a reason for hiding this comment

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

Kudos for including the tests!

- add and correct some comments
@srl295 srl295 dismissed stale reviews from btangmu and macchiati via 85c5201 January 24, 2024 20:34
@srl295 srl295 requested review from btangmu and macchiati January 24, 2024 21:01
@srl295
Copy link
Member Author

srl295 commented Jan 24, 2024

This class could potentially have other uses, perhaps detailed explanations of error checks or things like that. Any time you don't know a priori whether a person is going to want to see the details or not.

@srl295 srl295 merged commit 7074dd8 into unicode-org:main Jan 24, 2024
10 checks passed
@srl295 srl295 deleted the cldr-17327/stringfmt branch January 24, 2024 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants