Very cool. Do you know what the timeline is for getting the contents of master into the version packaged for apt?
On the topic of `ls` making many more syscalls than `nnn`, its interesting that `nnn` is using the `newfstatat` syscall. Is that capturing the information that the `lstat`, `lgetxattr`, and `getxattr` syscalls are getting for `ls`? If so, will that potentially limit this speed up to architectures that make use of the newer `newfstatat` syscall?
To get the last release: https://github.com/jarun/nnn/issues/217#issuecomment-4692263...
I am not sure when I will make the next release. I need to make sure it's stable enough through testing and that would take a while.
> newfstatat
Don't think so. For the basic info ls/nnn shows in the list mode, extended attributes are not strictly required.
Here are the numbers I see with $LS_COLORS set to:
And going deeper, with the same $LS_COLORS, see the difference in the number of calls (no wonder `nnn` outperforms `ls`):