• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: readdir vs. getdirentriesattr
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >readdir vs. getdirentriesattr (From: Sean Farley <email@hidden>)
 >Re: readdir vs. getdirentriesattr (From: Eric Tamura <email@hidden>)
 >Re: readdir vs. getdirentriesattr (From: Jim Luther <email@hidden>)

  • Prev by Date: Re: readdir vs. getdirentriesattr
  • Previous by thread: Re: readdir vs. getdirentriesattr
  • Next by thread: Re: readdir vs. getdirentriesattr
  • Index(es):
    • Date
    • Thread