Skip to content

Commit

Permalink
searcher: update outdated comment for buffer size
Browse files Browse the repository at this point in the history
Looks like this was accidentally left set to 8 in commit 46fb77c.

PR #1839
  • Loading branch information
aricha1940 authored Mar 31, 2021
1 parent 64ac2eb commit 1c3eebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/searcher/src/line_buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit 1c3eebe

Please sign in to comment.