Joseph Manning wrote: > But then again, it's a benchmark program, and there are benefits > to not making it too fast :-) Yes, it's a naive algorithm. It's taken from the cross-language benchmark comparisons, where all languages have to implement the same (naive) algorithm. --Mike