This is a major bottleneck on Preordering a tree with node labels. [Example file](https://github.com/user-attachments/files/16330353/1-all_genetrees.txt) ```r trees <- read.tree("1-all_genetrees.txt") profvis::profvis(trees <- Preorder(trees)) ```