diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-02 09:56:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-11-08 11:08:03 +0200 |
commit | f7f22db6030464f63eb942da04b3d5e10351f770 (patch) | |
tree | f1436a78ecb4d50b0d5b791ea89e44e30a8b7f10 /libbuild2/script/run.cxx | |
parent | 2c140c400cf9e3a93aabaeca8abfa1009c40bf19 (diff) |
More work on child process diagnostics buffering
Diffstat (limited to 'libbuild2/script/run.cxx')
-rw-r--r-- | libbuild2/script/run.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/script/run.cxx b/libbuild2/script/run.cxx index 1971bd1..0d9e472 100644 --- a/libbuild2/script/run.cxx +++ b/libbuild2/script/run.cxx @@ -1015,6 +1015,8 @@ namespace build2 // // Set the empty_ flag to false after the first character is read. // + // @@ PERF: reading one character at a time is not ideal. + // auto get = [this] () -> optional<char> { char r; |