Re:APFS is not safe to use with names which have Unicode nor...
by cryptonector on Tuesday June 06, 2017 @05:36PM
(#14501588)
In HFS+ it's even only done once per-create, so pretty cheap.
In ZFS it's once per-open()/stat()/and so on. But still, not at all on readdir(), and anyways, it's highly optimized. For an all ASCII filename the slow path is never taken, and for a mostly ASCII filename the slow path is only taken for non-ASCII codepoints that are followed by combining codepoints (that check is itself a slower-than-the-fast path, but still faster than the slowest path).
Basically, it's noise.
Why? It's done once per open, not once per I/O.