News for hackers. Stuff that matters.
Re:Why GNU grep is Fast by thaumaturgy on Monday August 23, 2010 @01:41PM (#1627408)
The error in this argument is that often 1 hour of programmer time saved can easily translate into thousands of hours of wasted user time.
Re:Why GNU grep is Fast by Ayjay on Tuesday August 24, 2010 @08:58AM (#1629611)
I really haven't seen this problem, like, ever. All coder's are vastly more likely to preoptimise the hell out of everything, and we end up with the opposite problem - thousands of hours of wasted programmer time won't even reach 1 saved hour of user time. Bear in mind as well that the actual speed of execution isn't always the main cause of perceived slowness - if something runs 10 times as slowly, but runs in the background and never causes the user to wait, it's actually running infinitely faster, from the users perspective.

A much better solution is to write things in the easiest way for coders to change - that way, when something is found to be the actual cause of slowness, anyone can easily go in and optimise it or move it to a background thread. Optimising EVERYTHING in the hopes of obtaining speed is a fool's errand - due to the 90/10 rule, 90% of the code you optimise will never be the bottleneck.

-- Ayjay on Fedang/coding

Re:Why GNU grep is Fast by jshen on Tuesday August 24, 2010 @01:00AM (#1629030)
I'm not arguing for anything, I'm stating a fact. Users choose more but slower features or in web app terms business people choose more but slower features and throw more hardware at it.

I'd prefer it your way too. One other thing, we're assuming good programmers and that's not something I'd bet on at most places.