Slim down integer formatting - Mailing list pgsql-hackers

From David Fetter
Subject Slim down integer formatting
Date
Msg-id 20210726235130.GK18391@fetter.org
Whole thread Raw
Responses Re: Slim down integer formatting  (Greg Nancarrow <gregn4422@gmail.com>)
Re: Slim down integer formatting  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Folks,

Please find attached a patch to do $subject. It's down to a one table
lookup and 3 instructions.

In covering the int64 versions, I swiped a light weight division from
the Ryu stuff.  I'm pretty sure that what I did is not how to do
#includes, but it's a PoC.  What would be a better way to do this?

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

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Attachment

pgsql-hackers by date:

Previous
From: Greg Nancarrow
Date:
Subject: Re: Added schema level support for publication.
Next
From: Michael Paquier
Date:
Subject: Re: Some code cleanup for pgbench and pg_verifybackup