pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use pg_bitutils for HyperLogLog.
Date: Thu, 30 Jul 2020 16:21:39 +0000
Message-ID: <E1k1BJL-0004Sb-1X@gemulon.postgresql.org> (raw)

Use pg_bitutils for HyperLogLog.

Using pg_leftmost_one_post32() yields substantial performance benefits.

Backpatching to version 13 because HLL is used for HashAgg
improvements in 9878b643, which was also backpatched to 13.

Reviewed-by: Peter Geoghegan
Discussion: https://postgr.es/m/CAH2-WzkGvDKVDo+0YvfvZ+1CE=iCi88DCOGFF3i1hTGGaxcKPw@mail.gmail.com
Backpatch-through: 13

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/07cbcdd00c2465a844513f14b7a96232013d3129

Modified Files
--------------
src/backend/lib/hyperloglog.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)



view thread (2+ messages)

Message-ID: <E1k1BJL-0004Sb-1X@gemulon.postgresql.org>
Permalink:  ../E1k1BJL-0004Sb-1X@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1k1BJL-0004Sb-1X@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org
  Subject: Re: pgsql: Use pg_bitutils for HyperLogLog.
  In-Reply-To: <E1k1BJL-0004Sb-1X@gemulon.postgresql.org>
  References: <E1k1BJL-0004Sb-1X@gemulon.postgresql.org>

* 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