2 ms·
No kidding! Take a look at this code I wrote for adding a node onto a binary tree: http://img301.imageshack.us/my.php?image=addtobinarytreescreenshjq2.png http
by vsingh 18y ago
No kidding! Take a look at this code I wrote for adding a node onto a binary tree:
http://img301.imageshack.us/my.php?image=addtobinarytreescreenshjq2.png http://img301.imageshack.us/my.php?image=addtobinarytreescre...
It is shown compared to the analogous code in C++ and Lisp.
My Factor version could probably be improved. In fact, I just now realized that I could have factored out the two final calls to <node> into a single call.