Just a small-ish refactor - I moved the static functions for building trees and tree desc management from baum_t to a separate tree_builder_t class.
Why not. Maybe we could move all these desc-handling functions to classes with a unified interface for all desc's?
Indeed, this makes sense.
Okay, submitted the patch in r9646.