mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-05-13 00:42:18 +00:00
7869546fef
It turns out that the `localeCompare` function used by `compareStateText()` is very, very slow. Replacing it with a straightforward equality test makes one of my test rigs be 10x faster... Note that this PR reverts the behaviour of match/nomatch to that before #3157. That change was not backwards compatible in that the switch to localeCompare meant that é === e, now it doesn't again.