Simplify Item structure

This commit compensates for the performance overhead from the
extended tiebreak option.
This commit is contained in:
Junegunn Choi committed 2016-01-14 01:12:49 +09:00
1 parent 1d2d32c847
commit 8d3a302a17
8 files changed
+43 -58

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ func randItem() *Item {
}
return &Item{
text: []rune(str),
index: rand.Int31(),
rank: buildEmptyRank(rand.Int31()),
offsets: offsets}
}