I've noticed that there's quite a lot of similarities between the two structures. Is there a way to have a hybrid structure that can upscale the simpler clojure vector if need be to an RRB Tree?
This will get rid of a problem that's always bothered me:
(conj (cons [...] 1) 2) => (2, 1, ...) ;; which is a Linked List, not a vector
will then be:
(conj (cons [...] 1) 2) => [1 ... 2] ;; which is an upscaled Bifurcan List
I've noticed that there's quite a lot of similarities between the two structures. Is there a way to have a hybrid structure that can upscale the simpler clojure vector if need be to an RRB Tree?
This will get rid of a problem that's always bothered me:
will then be: