On Apr 22, 2019, at 9:59 AM, Thomas Tempelmann <tempelm...@gmail.com> wrote: > Can you give some more information about the fts implementation? Is this > user-library-level oder kernel code that's doing this? I had expected that > this would only be a convenience userland function that uses readdir or > similar BSD functions, but it appears to beat them all, suggesting this is > optimized at a lower level.
That is surprising to me also. You can find the fts implementation here — at a first glance, it seems to be using both getattrlistbulk() and fstatat(), but nothing more exotic than that: https://opensource.apple.com/source/Libc/Libc-1272.200.26/gen/fts.c.auto.html _______________________________________________ Do not post admin requests to the list. They will be ignored. Filesystem-dev mailing list (Filesystem-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/filesystem-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com