Expand description
Respository of some indexing-implemented algorithms so we can dissect them and their codegen.
Structs§
Functions§
- binary_
search - binary_
search_ by f
is a closure that is passedx
from the slice and should return the result ofx
compared with something.- copy
- heapify
- insertion_
sort2_ indexes - Sort two containers in lock step, based on the first
- insertion_
sort_ indexes - insertion_
sort_ ranges - insertion_
sort_ rust - Copied from rust / libcollections/slice.rs, using raw pointers
- lower_
bound - lower_
bound_ raw_ ptr - Raw pointer version, for comparison From cppreference
- merge_
internal_ indices - Merge internal: Merge inside data while using
buffer
as a swap space - merge_
internal_ ranges - Merge internal: Merge inside data while using
buffer
as a swap space - quicksort_
bounds - quicksort implemented using regular bounds checked indexing
- quicksort_
range - Simple quicksort implemented using
Range
,