Skip to content

Commit 2693d9a

Browse files
committed
sort: ALLOC_CHUNK_SIZE = 15 * 1024
1 parent 5500e56 commit 2693d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/uu/sort/src/chunks.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use crate::{
2323
GeneralBigDecimalParseResult, GlobalSettings, Line, SortMode, numeric_str_cmp::NumInfo,
2424
};
2525

26-
const ALLOC_CHUNK_SIZE: usize = 8000;
26+
const ALLOC_CHUNK_SIZE: usize = 15 * 1024;
2727
const MAX_TOKEN_BUFFER_BYTES: usize = 4 * 1024 * 1024;
2828
const MAX_TOKEN_BUFFER_ELEMS: usize = MAX_TOKEN_BUFFER_BYTES / size_of::<Range<usize>>();
2929

0 commit comments

Comments
 (0)