Re: patch: plpgsql - remove unnecessary ccache search when a array variable is updated

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: patch: plpgsql - remove unnecessary ccache search when a array variable is updated
Date: 2011-06-20 10:23:07
Message-ID: BANLkTi=QKbaOXg86pLs25VbHmD5k5Dng-Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jun 20, 2011 at 10:49 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:

> this patch significantly reduce a ccache searching. On my test - bubble sort

It sounds good, but also somewhat worrying.

The first cache is slow, so we add another cache to avoid searching
the first cache.

What is making the first cache so slow?

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Pflug 2011-06-20 10:55:42 Re: Boolean operators without commutators vs. ALL/ANY
Previous Message Diogo Santos 2011-06-20 10:14:55 Auto Start second postgres 8.3.15-1 instance MAC OS X