mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
a452d86a3a
* feat(sort): add adaptive buffer sizing and fast paths - move heuristics into a new buffer_hint module and default to automatic sizing when the buffer flag is absent - tune chunk and external sort buffers to avoid runaway allocations - add fast lexicographic and ASCII case-insensitive comparisons for the default mode - refresh spell-check and dependency metadata for the new code * fix(sort): reuse SIGINT handler for temporary directory cleanup - keep the latest path/lock pair in a shared registry so SIGINT always cleans the active directory - guard handler installation with an atomic flag and reset state when the wrapper is dropped * refactor(sort): simplify merge batch size to fixed value Remove Linux-specific dynamic adjustment based on file descriptors and use a fixed batch size of 64 for consistency across platforms. * fix Cargo.lock linux environments