4 ms·
Well, readdir() in ZFS does not produce outputs in any order, since directories are just plain hash tables. And the n-i string comparison function produces a b
by cryptonector 9y ago
Well, readdir() in ZFS does not produce outputs in any order, since directories are just plain hash tables.
And the n-i string comparison function produces a boolean if I remember correctly, not a trinary. So it doesn't define a collation. But it could define a collation, that's true.
The problem with moving sorting into the kernel is that you now need to have the collations there (English? French? something else? "Unicode" is not enough), and user-land needs to tell the kernel what collation to use for any given process or thread or system call. That's ETOOMUCHWORK for everyone, so it doesn't happen.
- adrianratnapala 9y agoIndeed! Moreover, like it should be EBADIDEA.