News for hackers. Stuff that matters.
Re:Do you know how much your computer can do in a second? by panic on Sunday October 25, 2015 @05:33AM (#10446458)
The grandparent post isn't talking about over-optimizing. You shouldn't have to add disgusting hacks to complete a trivial operation in less than a second.
Re:Do you know how much your computer can do in a second? by netcan on Sunday October 25, 2015 @05:40AM (#10446472)
Yet both the efficiency the great-grandparent is talking about and the efficiency hacks that the grandparent is talking about exist.

This is evidence of how hard it is to do everything right, especially if you have more than one axis along which you are trying to be right.

Re:Do you know how much your computer can do in a second? by crdoconnor on Sunday October 25, 2015 @05:59AM (#10446494)
>The grandparent post isn't talking about over-optimizing.

Nonetheless, warning bells go off inside my head whenever I hear that opinion expressed without the caveat "if it isn't a problem for the user, leave it the fuck alone".

>You shouldn't have to add disgusting hacks to complete a trivial operation in less than a second.

If a trivial operation takes more than a second that's almost always indicative of a bigger underlying problem of crappy code.

Cleaning up dirty code that incidentally causes performance improvements is fine, but changing code specifically to make performance improvements without improving its overall quality leads to a downward spiral of shit.