This commit is contained in:
Junegunn Choi committed 2015-08-02 13:11:59 +09:00
1 parent dea60b11bc
commit 634670e3ea
7 files changed
+14 -12

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ func (mg *Merger) Get(idx int) *Item {
panic(fmt.Sprintf("Index out of bounds (unsorted, %d/%d)", idx, mg.count))
}
func (mg *Merger) Cacheable() bool {
func (mg *Merger) cacheable() bool {
return mg.count < mergerCacheMax
}