Re: micro-optimizing json.c - Mailing list pgsql-hackers

From Tom Lane
Subject Re: micro-optimizing json.c
Date
Msg-id 1358012.1702005540@sss.pgh.pa.us
Whole thread Raw
In response to Re: micro-optimizing json.c  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> I might be neater to get rid of the if condition and have:
> [ calls of appendBinaryStringInfo with len 0 ]

Hmm, if we are trying to micro-optimize, I seriously doubt that
that's an improvement.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: UBSan pointer overflow in xlogreader.c
Next
From: Nathan Bossart
Date:
Subject: Re: micro-optimizing json.c