X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 2FB4B9F9CEE for ; Tue, 16 May 2006 22:29:50 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 49148-07 for ; Tue, 16 May 2006 22:29:41 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from houston.familyhealth.com.au (houston.au.fhnetwork.com [203.22.197.21]) by postgresql.org (Postfix) with ESMTP id B89A89F9C18 for ; Tue, 16 May 2006 22:29:38 -0300 (ADT) Received: from houston.familyhealth.com.au (localhost [127.0.0.1]) by houston.familyhealth.com.au (Postfix) with ESMTP id A00332573B; Wed, 17 May 2006 09:29:09 +0800 (WST) Received: from [127.0.0.1] (work-48.internal [192.168.0.48]) by houston.familyhealth.com.au (Postfix) with ESMTP id BCBC325723; Wed, 17 May 2006 09:28:32 +0800 (WST) Message-ID: <446A7C69.5030905@calorieking.com> Date: Wed, 17 May 2006 09:29:13 +0800 From: Christopher Kings-Lynne User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: David Wheeler Cc: Tom Lane , pgsql-performance Subject: Re: IMMUTABLE? References: <2D4C0FA5-DB75-45EA-91D2-7B4F6DD55083@kineticode.com> <5211.1147749711@sss.pgh.pa.us> <3F0CF576-8C6F-433C-9942-BB36F4E1A194@kineticode.com> <5894.1147753901@sss.pgh.pa.us> <719F1E6C-4695-4FD2-A73B-0E3AE173B8F0@kineticode.com> In-Reply-To: <719F1E6C-4695-4FD2-A73B-0E3AE173B8F0@kineticode.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-familyhealth-MailScanner-Information: Please contact the ISP for more information X-familyhealth-MailScanner: Found to be clean X-familyhealth-MailScanner-From: chris.kings-lynne@calorieking.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/352 X-Sequence-Number: 19139 > Yes, but there are definitely programming cases where > memoization/caching definitely helps. And it's easy to tell for a given > function whether or not it really helps by simply trying it with CACHED > and without. > > Would this be a simple thing to implement? It's called a "table" :)