mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
addressing concerns
This commit is contained in:
parent
93257af5d2
commit
5d39bc0b1c
2 changed files with 1 additions and 2 deletions
|
|
@ -274,7 +274,6 @@ func (f *Fragment) openCache() error {
|
|||
// Read in all rows by ID.
|
||||
// This will cause them to be added to the cache.
|
||||
for _, id := range pb.IDs {
|
||||
//n := f.row(id, false, false).Count()
|
||||
n := f.storage.CountRange(id*SliceWidth, (id+1)*SliceWidth)
|
||||
f.cache.BulkAdd(id, n)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ func TestBitmap_Max(t *testing.T) {
|
|||
}
|
||||
}
|
||||
}
|
||||
func TestBitmap_BitmapCountRangeBug(t *testing.T) {
|
||||
func TestBitmap_BitmapCountRangeEdgeCase(t *testing.T) {
|
||||
s := uint64(2009 * 1048576)
|
||||
e := uint64(2010 * 1048576)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue