MCPcopy Create free account
hub / github.com/douchuan/algorithm / build_tournament_tree

Method build_tournament_tree

src/tree/binary/builder/tournament.rs:17–19  ·  view source on GitHub ↗
(data: &[K])

Source from the content-addressed store, hash-verified

15 K: Copy + std::cmp::Ord + Minimal,
16{
17 fn build_tournament_tree(data: &[K]) -> Tree<K, V> {
18 do_build(data)
19 }
20
21 fn tournament_tree_pop(tree: &mut Tree<K, V>) -> Option<K> {
22 pop(tree)

Callers

nothing calls this directly

Calls 1

do_buildFunction · 0.85

Tested by

no test coverage detected