-
Notifications
You must be signed in to change notification settings - Fork 159
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
use hPutStream for lazy hPutStr #603
Conversation
You need to also add |
What's the motivation for this change? Is it for performance? |
Yes, for performance, by avoiding duplicate work in accessing the |
This seems to defeat the purpose of lazy |
The idea is that the buffer is bounded. This only happens if the chunks are smaller than the block size determined by the buffering mode. |
There is no appending of chunks; only copying to a pre-allocated character buffer. |
Co-authored-by: ˌbodʲɪˈɡrʲim <andrew.lelechenko@gmail.com>
Thanks! |
No description provided.