mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-24 16:42:15 -05:00
bbbf985777
This cuts varcon lookup times in half but I still suspect slower than phf. Like with bsearch and unlike, the cost is consistent between hits and misses. At least this doesn't have the compile hit of PHF + unicase. Maybe I should experiment with integrating a non-const-fn variant of unicase with PHF and give up on all of this extra complexity. |
||
---|---|---|
.. | ||
lib.rs | ||
vars_codegen.rs |