summaryrefslogtreecommitdiffstats
path: root/src/browser_states.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2019-02-13 18:14:49 +0100
committerCanop <cano.petrole@gmail.com>2019-02-13 18:14:49 +0100
commit19b9dfea20ae2702d2d83e8175b11e239686a4e0 (patch)
treee30f1ac5a8fbdbffb980d6fbee12a405ce1798b1 /src/browser_states.rs
parent384adc6aac5500826a271432a4469f65a9765aaf (diff)
faster regex search
We were applying the same logic to fuzzy patterns and regex patterns: looking for more results than strictly necessary in order to then sort them and keep only the best ones. But today, as there's no way to decide which regex match is better than another one (because regexes don't try all the possible ways to match), all results have the same score, so there's no need to look for more results.
Diffstat (limited to 'src/browser_states.rs')
0 files changed, 0 insertions, 0 deletions