mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 17:15:56 +00:00
turn on bitmapCache support in openCache()
This commit is contained in:
parent
1980978847
commit
0ce5245e5a
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ func (f *Fragment) openCache() error {
|
|||
// This will cause them to be added to the cache.
|
||||
for _, bitmapID := range pb.BitmapIDs {
|
||||
//n := f.storage.CountRange(bitmapID*SliceWidth, (bitmapID+1)*SliceWidth)
|
||||
n := f.bitmap(bitmapID, true, false).Count()
|
||||
n := f.bitmap(bitmapID, true, true).Count()
|
||||
f.cache.BulkAdd(bitmapID, n)
|
||||
}
|
||||
f.cache.Invalidate()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue