Re: B-Tree support function number 3 (strxfrm() optimization)

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: B-Tree support function number 3 (strxfrm() optimization)
Date: 2014-09-15 18:25:41
Message-ID: CAM3SWZRT4Q1kYAz3ehU+vuU6MYo+fHtv4PMUXJBuK+McCUEbWg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Sep 15, 2014 at 11:20 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> ...looks like about a 10-line patch. We have the data to show that
> the loss is trivial even in the worst case, and we have or should be
> able to get data showing that the best-case win is significant even
> without the abbreviated key stuff. If you'd care to draft a patch for
> just that, I assume we could get it committed in a day or two, whereas
> I'm quite sure that considerably more work than that remains for the
> main patch.

OK, I'll draft a patch for that today, including similar alterations
to varstr_cmp() for the benefit of Windows and so on.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-09-15 18:29:54 Re: jsonb contains behaviour weirdness
Previous Message Robert Haas 2014-09-15 18:21:25 Re: jsonb contains behaviour weirdness