Re: [PATCH] Tiny optimization. - Mailing list pgsql-hackers

From Andreas Karlsson
Subject Re: [PATCH] Tiny optimization.
Date
Msg-id 83fa8733-5d36-6bcc-7e61-3d034eed6d92@proxel.se
Whole thread Raw
In response to [PATCH] Tiny optimization.  (Ranier Vilela <ranier_gyn@hotmail.com>)
Responses Re: [PATCH] Tiny optimization.
List 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



pgsql-hackers by date:

Previous
From: Tels
Date:
Subject: Re: backup manifests
Next
From: Amit Kapila
Date:
Subject: Re: dropdb --force