If you follow the link, the issue isn&#x27;t iteration, iteration is easy. The issue is the recursive destruction of the tree when the root is destroyed and no subtree is shared.<p>&gt; The list implementation is simple&#x2F;nice but it imposes a limit on number of stored elements because of &quot;additional effect&quot; of recursive destruction.