Use weak references for RedBlackTreeNode parents to avoid cycles. Enable __slots__ for reduced memory usage.
Use weak references for RedBlackTreeNode parents to avoid cycles.
Enable __slots__ for reduced memory usage.

dacut/python-algae