From 1c3eebefec9b80b77754a1567c70bc6948a044c6 Mon Sep 17 00:00:00 2001 From: aricha1940 Date: Wed, 31 Mar 2021 05:18:38 -0700 Subject: [PATCH] searcher: update outdated comment for buffer size Looks like this was accidentally left set to 8 in commit 46fb77c. PR #1839 --- crates/searcher/src/line_buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/searcher/src/line_buffer.rs b/crates/searcher/src/line_buffer.rs index d0f2a87a..7aa4cb83 100644 --- a/crates/searcher/src/line_buffer.rs +++ b/crates/searcher/src/line_buffer.rs @@ -4,7 +4,7 @@ use std::io; use bstr::ByteSlice; /// The default buffer capacity that we use for the line buffer. -pub(crate) const DEFAULT_BUFFER_CAPACITY: usize = 64 * (1 << 10); // 8 KB +pub(crate) const DEFAULT_BUFFER_CAPACITY: usize = 64 * (1 << 10); // 64 KB /// The behavior of a searcher in the face of long lines and big contexts. ///