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

Changed locale retrieval to minimize the risk of unwanted accidental refactoring #2592

Closed
wants to merge 1 commit into from

Conversation

toughengineer
Copy link
Contributor

This PR is in continuation of this discussion: #2576 (comment)

This seems to be a tad slower, probably because the lamda is not inlined.

Though I tried to make it pretty, I personally think this is very ugly.


As a side note: on_iso_date() seems to be ~4x slower than on_iso_time() though the former does not seem to do 4x more work, somebody should look into it.

@toughengineer
Copy link
Contributor Author

I like #2594 much better than this one.

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.

1 participant