David Judd
David Judd
A little more research suggests what we actually want is case folding, e.g. via https://github.com/unicode-rs/rust-caseless. But this might be slower (particularly given need for a different normalization) and it's not...
https://github.com/djudd/human-name/pull/20 makes us consistently respect the possibility of multiple characters for a case mapping, but I'll leave this open to handle context.
For what it's worth, I strongly prefer Speedscope's view of this; I find that putting the GC frame back at the bottom of the stack makes the flamegraphs much harder...
Haven't had time to look at this yet - I'm afraid replacing unidecode doesn't seem super urgent to me since despite being unmaintained it also seems kinda "done" - but...
Out of curiosity I tried out swapping in the FxHash and Seahash crates here. FxHash did not finish compiling the tests; Seahash works but is slower on the benchmarks here...