Current results of "dictionary word count" programs...
Levi Pearson
levi at cold.org
Tue Mar 14 11:25:51 MST 2006
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
More information about the PLUG
mailing list