commit | e8ab0ab9c0e395d3c09398fa981704a9be968838 | [log] [tgz] |
---|---|---|
author | Joshua Kahn <jkahn@barracuda.com> | Fri Sep 18 15:58:39 2015 -0400 |
committer | Jason Evans <je@fb.com> | Mon Nov 09 15:56:18 2015 -0800 |
tree | 98696042a6ee10b3a04a8420caad070480c3e9b0 | |
parent | 13b401553172942c3cc1d89c70fd965be71c1540 [diff] |
Add function to destroy tree ex_destroy iterates over the tree using post-order traversal so nodes can be removed and processed by the callback function without paying the cost to rebalance the tree. The destruction process cannot be stopped once started.