add fluxsort

This commit is contained in:
Brendan Hansknecht 2024-07-27 23:00:48 -07:00
parent c9a47ae886
commit e722faaf58
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
2 changed files with 802 additions and 7 deletions

View file

@ -710,7 +710,7 @@ pub fn listSortWith(
var list = input.makeUnique(alignment, element_width, elements_refcounted, inc, dec);
if (list.bytes) |source_ptr| {
sort.quadsort(source_ptr, list.len(), cmp, cmp_data, data_is_owned, inc_n_data, element_width, alignment, copy);
sort.fluxsort(source_ptr, list.len(), cmp, cmp_data, data_is_owned, inc_n_data, element_width, alignment, copy);
}
return list;