1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-06-14 22:15:13 +02:00

searcher: update outdated comment for buffer size

Looks like this was accidentally left set to 8 in commit 46fb77c.

PR #1839
This commit is contained in:
aricha1940
2021-03-31 05:18:38 -07:00
committed by GitHub
parent 64ac2ebe0f
commit 1c3eebefec

View File

@ -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.
///