-
Notifications
You must be signed in to change notification settings - Fork 67
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
std::endl
is expensive
#1367
Comments
Is there a particular place where we're using |
I looked at the code, and it seems that conduit is using |
We can investigate this for a future release. |
Yes, the flush included in |
Using
std::endl
to terminate a line is expensive. See e.g. https://en.cppreference.com/w/cpp/io/manip/endl.std::endl
flushes the stream, and this can be quite expensive, especially when the output is redirected to a file on a shared file system.The text was updated successfully, but these errors were encountered: