You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When --threads 1 is given to ripgrep, it should not write results to an intermediate buffer. In particular, if every search is serialized (as it is when --threads 1 is given), then no synchronization is needed to print to stdout, and therefore, no intermediate buffer is needed.
This should be somewhat straight-forward, since the searcher is generic over a Printer<W: Terminal>.
In #4, I ended up doing this, but only when there was a single file (or stdin) to be searched.
The text was updated successfully, but these errors were encountered:
When
--threads 1
is given toripgrep
, it should not write results to an intermediate buffer. In particular, if every search is serialized (as it is when--threads 1
is given), then no synchronization is needed to print tostdout
, and therefore, no intermediate buffer is needed.This should be somewhat straight-forward, since the searcher is generic over a
Printer<W: Terminal>
.In #4, I ended up doing this, but only when there was a single file (or
stdin
) to be searched.The text was updated successfully, but these errors were encountered: