From c36828863856b5b80161a1d4358dabfa04ef217d Mon Sep 17 00:00:00 2001 From: Travis Date: Mon, 27 Feb 2017 11:54:59 -0600 Subject: [PATCH] fix `BulkAdd` comment --- cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache.go b/cache.go index af2284fc7..86cab6b5a 100644 --- a/cache.go +++ b/cache.go @@ -135,7 +135,7 @@ func (c *RankCache) Add(bitmapID uint64, n uint64) { } } -// Add adds a bitmap to the cache unsorted you should Invalidate after completion +// BulkAdd adds a bitmap to the cache unsorted. You should Invalidate after completion. func (c *RankCache) BulkAdd(bitmapID uint64, n uint64) { if n < c.ThresholdValue { return