I am visualizing a file tree structure with pack. This works great when files are spread throughout the file tree, but the packing algorithm becomes really slow if there a lot of files in a single folder.
For reference, when i try to pack 40k items, it takes about 10 seconds.
Is there a way to make packing items faster when there are a lot of items in the same folder?
I have summed and sorted the hierarchy.