summaryrefslogtreecommitdiffstats
path: root/src/pattern.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-01-05 02:32:18 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-01-05 02:32:18 +0900
commit4a5142c60b1e833425a19de744b48ad1753f0543 (patch)
tree8d2aa5bc33f673482c2e3a6d42e51fe7b411faf1 /src/pattern.go
parentea25e9674f84071dab194a6e35973373ef03e02a (diff)
Do not sort terms when building cache key
Diffstat (limited to 'src/pattern.go')
-rw-r--r--src/pattern.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pattern.go b/src/pattern.go
index 533aa59f..7c27f52f 100644
--- a/src/pattern.go
+++ b/src/pattern.go
@@ -2,7 +2,6 @@ package fzf
import (
"regexp"
- "sort"
"strings"
)
@@ -181,7 +180,6 @@ func (p *Pattern) CacheKey() string {
}
cacheableTerms = append(cacheableTerms, string(term.origText))
}
- sort.Strings(cacheableTerms)
return strings.Join(cacheableTerms, " ")
}