We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d502bf commit 8c85e7fCopy full SHA for 8c85e7f
1 file changed
src/uu/sort/src/sort.rs
@@ -134,7 +134,7 @@ const POSITIVE: &u8 = &b'+';
134
const MIN_AUTOMATIC_BUF_SIZE: usize = 512 * 1024; // 512 KiB
135
const FALLBACK_AUTOMATIC_BUF_SIZE: usize = 32 * 1024 * 1024; // 32 MiB
136
const MAX_AUTOMATIC_BUF_SIZE: usize = 1024 * 1024 * 1024; // 1 GiB
137
-const MAX_PRECOMPUTED_COLLATION_KEY_LINE_LEN: usize = 1024 * 1024; // 1 MiB
+const MAX_PRECOMPUTED_COLLATION_KEY_LINE_LEN: usize = u16::MAX as usize;
138
139
#[derive(Debug, Error)]
140
pub enum SortError {
0 commit comments