A micro-optimisation for walkdir() - Mailing list pgsql-hackers

From Thomas Munro
Subject A micro-optimisation for walkdir()
Date
Msg-id CA+hUKG+FzxupGGN4GpUdbzZN+tn6FQPHo8w0Q+APH5Wz8RG+ww@mail.gmail.com
Whole thread Raw
Responses Re: A micro-optimisation for walkdir()  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hello hackers,

You don't need to call stat() just to find out if a dirent is a file
or directory, most of the time.  Please see attached.

Attachment

pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: describe-config issue
Next
From: Amit Kapila
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions