1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-05-28 12:14:06 +00:00
Jeremy Ruston 7869546fef Speed up reveal widget
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.
2019-05-10 08:47:00 +01:00
..
2018-09-28 16:01:32 +01:00
2019-04-16 10:15:58 +01:00
2019-05-10 08:47:00 +01:00