Re: [PATCH] Tiny optimization.

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Ranier Vilela <ranier_gyn(at)hotmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Tiny optimization.
Date: 2019-11-23 09:44:47
Message-ID: 83fa8733-5d36-6bcc-7e61-3d034eed6d92@proxel.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 11/22/19 10:58 PM, Ranier Vilela wrote:
> Remove redutant test.

Yeah, this test does look redundant since we already check for if parent
is NULL earlier in the function. Any optimizing compiler should see this
too, but it is still a good idea to remove it for code clarity.

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2019-11-23 11:12:10 Re: dropdb --force
Previous Message Tels 2019-11-23 08:13:21 Re: backup manifests