Re: readdir vs. getdirentriesattr
Re: readdir vs. getdirentriesattr
- Subject: Re: readdir vs. getdirentriesattr
- From: Sean Farley <email@hidden>
- Date: Wed, 10 Dec 2014 18:45:36 -0800
Jim Luther writes:
> And to clarify... readdir may be faster than getattrlistbulk if all you need are the names. If you call getattrlist (or lstat) on every item you get back from readdir, you'll find that getattrlistbulk is faster.
That is exactly what we are doing: calling lstat per file in the directory,
http://selenic.com/hg/file/416c133145ee/mercurial/osutil.c#l341
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden