Re: patch: plpgsql - remove unnecessary ccache search when a array variable is updated - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: patch: plpgsql - remove unnecessary ccache search when a array variable is updated
Date
Msg-id BANLkTi=QKbaOXg86pLs25VbHmD5k5Dng-Q@mail.gmail.com
Whole thread Raw
In response to patch: plpgsql - remove unnecessary ccache search when a array variable is updated  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: patch: plpgsql - remove unnecessary ccache search when a array variable is updated
List pgsql-hackers
On Mon, Jun 20, 2011 at 10:49 AM, Pavel Stehule <pavel.stehule@gmail.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


pgsql-hackers by date:

Previous
From: Vlad Arkhipov
Date:
Subject: date_part for infinity intervals
Next
From: Florian Pflug
Date:
Subject: Re: Boolean operators without commutators vs. ALL/ANY