6 ms·
Normalization is very expensive and does not belong at the FS level. This kills performance for some classes of applications. Why? It's done once per open, not
by Animats 9y ago
Normalization is very expensive and does not belong at the FS level. This kills performance for some classes of applications.
Why? It's done once per open, not once per I/O.
- cryptonector 9y agoIn 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.