in reply to Re: I think I like Perl too much...
in thread I think I like Perl too much...

Agreed, the difference in terms of complexity of the code is not big, but the difference in speed is. At least my implementations of both solutions differed by one order of magnitude. Besides, this is all kids' play compared to the algorithms discussed in earlier threads like this one and this one (thanks to dmerphq for the heads-up).

the lowliest monk