Re: OT: How to do a reverse word list in Perl
From: | Mark J. Reed <markjreed@...> |
Date: | Friday, October 27, 2006, 15:29 |
On 10/27/06, Henrik Theiling <theiling@...> wrote:
> Ah, is this about efficiency?
Yes. Otherwise, the original code was just fine as-is.
> I don't really care unless it improves
> the readability of the program or at least reduces the theoretical
> computational complexity. Readability and simplicity are much more
> important to me than plain efficiency.
Mm-hmm. I agree, which would be why I said this in my original reply:
"it'll probably still seem instantaneous, in which case, great. Leave
it alone - better to be able to understand the code readily. But if
you have a
lot of words and it slows down noticeably, try this:"
:)
--
Mark J. Reed <markjreed@...>
Reply