Re: use CLZ instruction in AllocSetFreeIndex()

From: John Naylor <john(dot)naylor(at)2ndquadrant(dot)com>
To: David Fetter <david(at)fetter(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: use CLZ instruction in AllocSetFreeIndex()
Date: 2019-12-28 14:50:24
Message-ID: CACPNZCt6oE4ntnPs=wc2ks8eo3rSeoa=5ETeeZ06ZGAdG4+ePQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

v2 had an Assert that was only correct while experimenting with
eliding right shift. Fixed in v3.

--
John Naylor https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
v3-0001-Use-the-CLZ-instruction-in-AllocSetFreeIndex.patch application/octet-stream 3.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2019-12-28 15:02:12 Re: [PATCH v1] pg_ls_tmpdir to show directories
Previous Message Pierre Ducroquet 2019-12-28 12:55:59 Re: [PATCH] fix a performance issue with multiple logical-decoding walsenders