On Mar 14, 2006, at 10:39 AM, Michael Halcrow wrote:

I only have two words for you:

Tail Recursion.

It is, after all, O'Caml.

;-)


I thought about that, but I was already using mutable data, and the while loop was shorter. :)

I'm working on a SML version now, to see if mlton's whole-program optimizer will give any benefit. I'm not counting on it, since it's not a terribly complex program, but it's an interesting exercise nonetheless.

                --Levi

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to