]> git.proxmox.com Git - proxmox-backup.git/commitdiff
add a comment about posible improvements
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 29 Dec 2018 18:43:25 +0000 (19:43 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 29 Dec 2018 18:43:25 +0000 (19:43 +0100)
src/catar/binary_search_tree.rs

index ec614e125095b54b934a4e9ae7861491d6975561..ba996a94a6f451fda2945a2b412845953fa683b1 100644 (file)
 /// 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)>(
     copy_func: &mut F,
     // we work on input array input[o..o+n]