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

main: export LC_ALL=C #634

Merged
merged 1 commit into from
May 9, 2022
Merged

main: export LC_ALL=C #634

merged 1 commit into from
May 9, 2022

Conversation

simondeziel
Copy link
Contributor

@simondeziel simondeziel commented May 6, 2022

We can get a small speed boost by using the C locale since we are
handling ASCII only anyway.

This saves between 1 and 3 million cycles in my perf stat tests
out of 16 to 36 million cycles.

@tomponline
Copy link
Contributor

What does this do, and what is the impact aside from the reduction in cycles?

We can get a small speed boost by using the C locale since we are
handling ASCII only anyway.

This saves between 1 and 3 million cycles in my `perf stat` tests
out of 16 to 36 million cycles.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Copy link
Contributor

@tomponline tomponline left a comment

Choose a reason for hiding this comment

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

Thsnks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants