From cd7434fa95a2845f938a4c07c904d8a21c76460e Mon Sep 17 00:00:00 2001 From: Travis Date: Wed, 8 Mar 2017 16:39:36 -0600 Subject: [PATCH] remove TODO; Todd confirmed `f.cache.Top()` was not doing a copy --- fragment.go | 1 - 1 file changed, 1 deletion(-) diff --git a/fragment.go b/fragment.go index 82f2e50f2..4630a4ac4 100644 --- a/fragment.go +++ b/fragment.go @@ -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() }