From e049255103f288f84957a8de7f0cfaf5c76bcf4d Mon Sep 17 00:00:00 2001 From: Thomas Hurst Date: Tue, 14 Aug 2018 21:13:19 +0100 Subject: [PATCH] Remove next_batch comment on threading. Really need a direct-fill batched method for this sort of use. --- src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index bc5e4c1..fe92bd0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -168,14 +168,6 @@ impl LineReader { /// 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;