| Sign In/My Account | View Cart |
| Article: |
Scripting a Binary Tree Using Tcl | |
| Subject: | also... | |
| Date: | 2005-01-31 13:45:21 | |
| From: | belman | |
|
Your recursion to populate it is wasteful and doesn't enhance readability. For large trees, better hope you have some stack protection.
|
||
Showing messages 1 through 1 of 1.
Thanks. For the info. The example was essentially some through away code to demonstrate the binary tree operation in Tcl.
You're right on with the while() tip. I wanted the example code to be more explicit in the operation of the tree.
Mike