remove TODO; Todd confirmed f.cache.Top() was not doing a copy

This commit is contained in:
Travis 2017-03-08 16:39:36 -06:00
parent 41d334aeaf
commit cd7434fa95

View file

@ -574,7 +574,6 @@ func (f *Fragment) topBitmapPairs(bitmapIDs []uint64) []BitmapPair {
f.mu.Lock()
defer f.mu.Unlock()
f.cache.Invalidate()
// TODO: make sure this is just returning a reference to the entire cache
return f.cache.Top()
}