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

<chrono>: Reduce put_time calls in [time.format] #1900

Open
mnatsuhara opened this issue May 4, 2021 · 0 comments
Open

<chrono>: Reduce put_time calls in [time.format] #1900

mnatsuhara opened this issue May 4, 2021 · 0 comments
Labels
chrono C++20 chrono performance Must go faster

Comments

@mnatsuhara
Copy link
Contributor

mnatsuhara commented May 4, 2021

Observed by @statementreply

The current [time.format] implementation calls put_time once for each formatting field - we should investigate improving performance here (perhaps by leveraging internal machinery).

Discovered while implementing #12.

@mnatsuhara mnatsuhara changed the title @statementreply [observes](https://github.com/microsoft/STL/pull/1870#discussion_r617528729) that the current [time.format] implementation calls put_time once for each formatting field - we should investigate improving performance here (perhaps by leveraging internal machinery). <chrono>: Reduce put_time calls in [time.format] May 4, 2021
@mnatsuhara mnatsuhara added chrono C++20 chrono performance Must go faster labels May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chrono C++20 chrono performance Must go faster
Projects
None yet
Development

No branches or pull requests

1 participant