In reply to Ven Immani.

Yes, tree-based algorithms -- and many other smart algorithms -- are used to speed up MPI collective operations. :-)