Page MenuHomeFreeBSD

Implement mergesort for the FreeBSD kernel.
AbandonedPublic

Authored by hselasky on Feb 5 2016, 8:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 12, 12:20 AM
Unknown Object (File)
Sat, Dec 7, 11:47 AM
Unknown Object (File)
Nov 20 2024, 3:32 AM
Unknown Object (File)
Nov 7 2024, 6:56 AM
Unknown Object (File)
Oct 17 2024, 2:23 PM
Unknown Object (File)
Oct 10 2024, 4:41 AM
Unknown Object (File)
Oct 2 2024, 12:52 PM
Unknown Object (File)
Oct 1 2024, 7:25 PM
Subscribers

Details

Summary

The sorting algorithm is optimized to sort a pointer array.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

hselasky retitled this revision from to Implement mergesort for the FreeBSD kernel..
hselasky updated this object.
hselasky edited the test plan for this revision. (Show Details)
hselasky added reviewers: gallatin, gnn.
hselasky set the repository for this revision to rS FreeBSD src repository - subversion.

Re-add sys/conf/files deltas.

Why not just use quicksort?

Because quicksort appears to be unpredictable with regard to how many times the function needs to recurse and how long the sorting can take.

See:
https://en.wikipedia.org/wiki/Quicksort

--HPS