Skip to content

Commit

Permalink
Remove next_batch comment on threading.
Browse files Browse the repository at this point in the history
Really need a direct-fill batched method for this sort of use.
  • Loading branch information
Freaky committed Aug 14, 2018
1 parent 74f0bde commit e049255
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,6 @@ impl<R: io::Read> LineReader<R> {
/// This is functionally identical to next_line, only instead of getting up
/// to the *first* instance of the delimiter, you get up to the *last*.
///
/// This is anticipated to be used in multithreaded processing; take a batch
/// of complete lines, copy the slice and pass it onto workers having done the
/// minimum work in the input thread; a `read()`, a `memrchr()` to find the last
/// delimiter, and a copy.
///
/// The copy is left up to you in case you have other reasons for wanting
/// batches. Something higher level, like an iterator, will be forthcoming.
///
/// ```no_run
/// # use linereader::LineReader;
/// # use std::fs::File;
Expand Down

0 comments on commit e049255

Please sign in to comment.