Re:SQLite 3.8.7 is 50% faster than 3.7.17
by ownagefool on Tuesday October 07, 2014 @09:15AM
(#8420887)
The argument behind premature optimization only really stands when first developing a product. Once you have an established product, it's no longer premature, it's just optimization.
[ Parent
| on HN ]
Re:SQLite 3.8.7 is 50% faster than 3.7.17
by equoid on Wednesday October 08, 2014 @04:40AM
(#8425886)
Premature optimization is that which is done before the need for the optimization is clear. Thus debugged, feature complete (for now) ... 'Established' really has nothing to do with it, if that established product has bugs then those should be addressed before attempting to optimize. Unless of course, the lack of optimization is itself the bug.
Re:SQLite 3.8.7 is 50% faster than 3.7.17
by dragonwriter on Wednesday October 08, 2014 @12:13PM
(#8427697)
> Once you have an established product, it's no longer premature, it's just optimization.
Its premature even if the product is completely feature complete and bug-free if the particular optimization being done is being done before more significant optimizations, which, if you aren't using some measurement more sophisticated than "this looks like it could be optimized" to choose what to optimize, it probably is.
Re:SQLite 3.8.7 is 50% faster than 3.7.17
by steve-howard on Wednesday October 08, 2014 @02:59PM
(#8428757)
I'm late to the discussion, but I will say that when you have an established product you have a much better perspective on how the code is organized than when you're still cobbling together V1.0. A firm grasp of the code's organization makes it much easier to contain the optimized part and slap on a /* HERE BE DRAGONS */ header.
Re:SQLite 3.8.7 is 50% faster than 3.7.17
by emodendroket on Tuesday October 07, 2014 @09:27AM
(#8420942)
Well, only if you never add any new features to it.