in reply to Re: Underestimage (ST vs brute force)
in thread Underestimage (ST vs brute force)
I'm sure we could get more speed that way, but that does defeat the primary purpose behind my suggestion for the ST: maintenance. You put back in the one thing I was trying to eliminate for the poor original petitioner: (/(\d+)/)[0]. By using a block, focused on a single item at a time, I could split that into multiple statements to make it easier to read.
The first curlies could be removed with little ill effect on readability, but the curlies on the second map would be a negative to readability. And, so, I suggest, a premature optimisation :-P
|
|---|