patch: Change default sorting algorithm in sort(1)

Hans Petter Selasky hps at selasky.org
Tue May 18 09:24:38 UTC 2021


On 5/17/21 10:25 PM, Cyril Zhang via freebsd-hackers wrote:
> The main consideration is memory usage. The mergesort implementation
> in libc allocates extra memory, and in the sort program this amounts
> to about n * sizeof(void *)

Will this affect small-memory systems ability to sort data?

--HPS


More information about the freebsd-hackers mailing list