Shave a few cycles off our ilog10 implementation

From: David Fetter <david(at)fetter(dot)org>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Shave a few cycles off our ilog10 implementation
Date: 2024-10-30 19:27:40
Message-ID: ZyKIrGS+rkJhbFcw@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Please find attached a patch to $Subject

I've done some preliminary testing, and it appears to shave somewhere
between 25-50% off the operations themselves, and these cascade into
things like formatting result sets and COPY OUT.

Best,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Attachment Content-Type Size
v1-0001-Shave-a-few-instructions-off-ilog10.patch text/x-diff 4.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stefan Keller 2024-10-30 19:47:16 Re: Proposal for Integrating Data Masking and anonymization into PostgreSQL
Previous Message Vladlen Popolitov 2024-10-30 19:24:16 Re: Increase of maintenance_work_mem limit in 64-bit Windows