pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <gsmith@gregsmith.com>
To: pgsql-performance@postgresql.org
Subject: Re: Bunching "transactions"
Date: Fri, 26 Oct 2007 11:08:07 -0400 (EDT)
Message-ID: <Pine.GSO.4.64.0710261055150.6952@westnet.com> (raw)
In-Reply-To: <4721F5E5.1020808@verizon.net>
References: <4720B680.5060407@verizon.net>
	<60k5pbcc50.fsf@dba2.int.libertyrms.com>
	<4720EB53.6070009@verizon.net>
	<60lk9q9b2h.fsf@dba2.int.libertyrms.com>
	<4721F5E5.1020808@verizon.net>

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



view thread (10+ messages)

Message-ID: <Pine.GSO.4.64.0710261055150.6952@westnet.com>
Permalink:  ../Pine.GSO.4.64.0710261055150.6952@westnet.com/
Also on:    postgresql.org/message-id/Pine.GSO.4.64.0710261055150.6952@westnet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gsmith@gregsmith.com
  Subject: Re: Bunching "transactions"
  In-Reply-To: <Pine.GSO.4.64.0710261055150.6952@westnet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox