You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ASAN and Valgrind catch memory errors when trying to sort an empty collection with merge_insertion_sort and slab_sort. They seem to be linked to fixed_size_list somehow. I need to investigate decide whether something needs to be done in fixed_size_list or whether it's the sorters that need to be fixed (and maybe whether to add an assertion in fixed_size_list).
The text was updated successfully, but these errors were encountered:
merge_insertion_sort and slab_sort failed when sorting an empty
collection for the same reason: they tried to create an empty
fixed_size_list, which actually causes all knids of issues. The two
sorters don't attempt to creat such a list anymore, and an assertion was
added to the fixed_size_list constructor to ensure that it never
happens.
ASAN and Valgrind catch memory errors when trying to sort an empty collection with
merge_insertion_sort
andslab_sort
. They seem to be linked tofixed_size_list
somehow. I need to investigate decide whether something needs to be done infixed_size_list
or whether it's the sorters that need to be fixed (and maybe whether to add an assertion infixed_size_list
).The text was updated successfully, but these errors were encountered: