mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
make fuzzer better and add missing else
This commit is contained in:
parent
109dba836e
commit
285c43e288
2 changed files with 7 additions and 7 deletions
|
@ -52,8 +52,7 @@ pub fn fluxsort(
|
|||
if (len < 132) {
|
||||
// Just quadsort it.
|
||||
quadsort(array, len, cmp, cmp_data, data_is_owned_runtime, inc_n_data, element_width, alignment, copy);
|
||||
}
|
||||
if (element_width <= MAX_ELEMENT_BUFFER_SIZE) {
|
||||
} else if (element_width <= MAX_ELEMENT_BUFFER_SIZE) {
|
||||
if (data_is_owned_runtime) {
|
||||
fluxsort_direct(array, len, cmp, cmp_data, element_width, alignment, copy, true, inc_n_data);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue