Interrupt work of TextFormat::Printer on `io::ZeroCopyOutputStream:…#26508
Conversation
|
Relates: #23288 |
3b393e6 to
33bc836
Compare
33bc836 to
bd88d7a
Compare
@themavik thank you, style fixed |
|
@esrauchg Hello, I just wonder is everything ok with this PR? |
|
Sorry about the delay getting back to you. I looked at the PR with @sbenzaquen and I think that the narrow shape of the change doesn't look like something like something we can accept as is (a number of invasive if's at arbitrary points, especially without test coverage). And I'm not sure locally if it can easily be made super clean here. Can you actually speak a bit more for the importance of the behavior for your business usecase, why is failed-printing something that you are hitting often enough to be a topic of concern for optimizing? Thanks! |
|
@esrauchg Thank you for the answer In most of our services, we use Since the capacity of However, the current implementation doesn't have the ability to interrupt its execution. Small deviations can be considered non-critical, |
…:Next` fail