http://qs321.pair.com?node_id=912001


in reply to Re^2: Regex Optimization Question
in thread Regex Optimization Question

Indeed. However, not having any information about where to focus on efficiencies, you can't go wrong on "programmer time" as a sane default thing to optimize. That's why it's generally the most important thing and not specifically the most important thing. :-)

Replies are listed 'Best First'.
Re^4: Regex Optimization Question
by JavaFan (Canon) on Jul 03, 2011 at 20:14 UTC
    You got any data to back that up? Or is that just your opinion? Frankly, I doubt that it will still be your opinion if you gave it half a second of thought.

    Seriously, if programmer time would be "generally" the most important thing to optimize for, we shouldn't be writing documentation or tests, and copy-and-paste would be preferred over refactoring.