Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert BinaryTree to slightly more canonical Julia form
With no node mutation, it is unclear why this is mutable (which costs some extra loads), though the recursion forces this to the heap regardless. But singleton struct Empty needs to be non-mutable now for correctness
- Loading branch information