add a comment about posible improvements
This commit is contained in:
parent
0b78833d8e
commit
48147efd12
@ -24,6 +24,14 @@
|
|||||||
/// implements the data copy.
|
/// implements the data copy.
|
||||||
///
|
///
|
||||||
|
|
||||||
|
// NOTES:
|
||||||
|
//
|
||||||
|
// https://en.wikipedia.org/wiki/Binary_heap
|
||||||
|
// https://en.wikipedia.org/wiki/Heapsort
|
||||||
|
//
|
||||||
|
// ==> Maype it is possible to build a sorted array from unsorted
|
||||||
|
// array inplace, using heapsort?
|
||||||
|
|
||||||
fn copy_binary_search_tree_inner<F: FnMut(usize, usize)>(
|
fn copy_binary_search_tree_inner<F: FnMut(usize, usize)>(
|
||||||
copy_func: &mut F,
|
copy_func: &mut F,
|
||||||
// we work on input array input[o..o+n]
|
// we work on input array input[o..o+n]
|
||||||
|
Loading…
Reference in New Issue
Block a user