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

Experiment with putting most of potential_passthrough_impl in an cold function #4858

Open
hsivonen opened this issue May 2, 2024 · 0 comments
Labels
A-performance Area: Performance (CPU, Memory) C-collator Component: Collation, normalization

Comments

@hsivonen
Copy link
Member

hsivonen commented May 2, 2024

potential_passthrough_impl starts with the remark

// This methods looks badly branchy, but most characters
// take the first return.

Experiment with delegating the rest of the function after the first check to a second function marked cold.

@hsivonen hsivonen added A-performance Area: Performance (CPU, Memory) C-collator Component: Collation, normalization labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-performance Area: Performance (CPU, Memory) C-collator Component: Collation, normalization
Projects
None yet
Development

No branches or pull requests

1 participant