[pacman-dev] [PATCH 0/2] Remove REQUIREDBY usage

Aaron Griffin aaronmgriffin at gmail.com
Tue Nov 13 13:59:55 EST 2007


On Nov 13, 2007 12:47 PM, Nagy Gabor <ngaba at bibl.u-szeged.hu> wrote:
> Any notable optimization worth the hack.

I just need to comment here that I'd prefer we _not_ do this in
pacman. "Any optimization is worth it" is a REALLY bad mantra when it
comes to code, in my experience. Code should be clean and elegant
_first_ and as optimized as possible _second_. So if optimizations
break code clarity and add unnecessary stuff for a 0.1 second
improvement, it's not worth it.

Sure large improvements are worth a loss in code clarity, but, as Dan
actually proved with the timings, there's very little room for
improvement here.




More information about the pacman-dev mailing list