On Thursday, 10 November 2022 at 21:27:28 UTC, Ali Çehreli wrote:
However, ftw performs about twice as fast as dirEntries

Yes, `dirEntries` isn't as fast as it could be.

Here is a directory iterator which tries to strictly not do more work than what it must:

https://github.com/CyberShadow/ae/blob/86b016fd258ebc26f0da3239a6332c4ebecd3215/sys/file.d#L178

Reply via email to