Re: Bunching "transactions"

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Bunching "transactions"
Дата
Msg-id Pine.GSO.4.64.0710261055150.6952@westnet.com
обсуждение исходный текст
Ответ на Re: Bunching "transactions"  (Jean-David Beyer <jeandavid8@verizon.net>)
Список pgsql-performance
On Fri, 26 Oct 2007, Jean-David Beyer wrote:

> I think it was Jon Louis Bently who wrote (in his book, "Writing
> Efficient Programs") something to the effect, "Premature optimization is
> the root of all evil."

That quote originally comes from Tony Hoare, popularized by a paper
written by Donald Knuth in 1974.  The full statement is "We should forget
about small efficiencies, say about 97% of the time: premature
optimization is the root of all evil.  Yet we should not pass up our
opportunities in that critical 3%."

My favorite sound-bite on this topic is from William Wulf:  "More
computing sins are committed in the name of efficiency (without
necessarily achieving it) than for any other single reason - including
blind stupidity."  That was back in 1972.  Both his and Knuth's papers
centered on abusing GOTO, which typically justified at the time via
performance concerns.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

В списке pgsql-performance по дате отправления:

Предыдущее
От: Jean-David Beyer
Дата:
Сообщение: Re: Bunching "transactions"
Следующее
От: "Jignesh K. Shah"
Дата:
Сообщение: Re: [HACKERS] 8.3beta1 testing on Solaris