Function btreeset-from-hashsetpub
Source:fn(pub) btreeset-from-hashset ( (HashSet elem) → (BTreeSet elem) )
Description
Convert a (HashSet elem) to a (BTreeSet elem). Elements are identical; only the ordering discipline changes. Free fn for the same reason as btreeset-from-vec. O(n log n).