pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Performance improvements for src/port/snprintf.c
Date: Wed, 26 Sep 2018 19:48:40 -0400
Message-ID: <14450.1538005720@sss.pgh.pa.us> (raw)
In-Reply-To: <20180926233205.c72ucwa5xc3ftxce@alap3.anarazel.de>
References: <11787.1534530779@sss.pgh.pa.us>
	<20180926233205.c72ucwa5xc3ftxce@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> I kinda wonder if we shouldn't replace the non pg_* functions in
> snprintf.c with a more modern copy of a compatibly licensed libc. Looks
> to me like our implementation has forked off some BSD a fair while ago.

Maybe, but the benchmarking I was doing last month didn't convince me
that the *BSD versions were remarkably fast.  There are a lot of cases
where our version is faster.

			regards, tom lane




view thread (65+ messages)  latest in thread

Message-ID: <14450.1538005720@sss.pgh.pa.us>
Permalink:  ../14450.1538005720@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14450.1538005720@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, pgsql-hackers@lists.postgresql.org
  Subject: Re: Performance improvements for src/port/snprintf.c
  In-Reply-To: <14450.1538005720@sss.pgh.pa.us>

* 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