Re: Unicode conversion issue
From: Linus Torvalds
Date: Wed Dec 11 2024 - 16:57:12 EST
On Wed, 11 Dec 2024 at 13:53, Jaegeuk Kim <jaegeuk@xxxxxxxxxx> wrote:
>
> Casefolding supports f2fs and ext4 per Android request, and only f2fs
> constructs hash-based directory structure. If we use hash of the
> case-preserving entry, we had no easy solution to distinguish file_A and file_a.
I really wish people had just done case-folding as a slow case, and
not used the hash at all.
Does that mean that you have to walk the directory linearly? Yes it
does. But that's my point: you shouldn't optimize for the idiocy of
case-folding. You should optimize for the sane case, and actively try
to discourage people from doing stupid bad things.
Oh well. Too late now.
Linus