[perf] Use Vec
instead of BTreeMap
in tree_from_memory
#3012
Loading
Vec
instead of BTreeMap
in tree_from_memory
#3012