Travis Turner
5dd7a9556a
rename slice to shard
2018-06-28 14:07:07 -05:00
Matt Jaffee
61fcf99f3e
unexport bitmapsEqual
2018-05-15 15:53:26 -05:00
Cody Soyland
5103bfd8ce
Remove errant "z".
2018-05-15 11:34:47 -05:00
Cody Soyland
e8fcb0f055
Use NewFileBitmap for tests to test btree/slice containers separately.
2018-05-15 11:22:19 -05:00
Cody Soyland
faa79a385c
Add B+tree to enterprise subpackage
2018-05-11 20:20:24 -05:00
Cody Soyland
2590b25628
Merge branch 'master' into vendor-btree
2018-05-10 11:28:13 -05:00
Ilias Dimos
13e3b04443
Fix misspells in comments
2018-03-09 14:12:15 +02:00
Matt Jaffee
26b6f6b119
rename NewBitmap to NewSliceBitmap
2018-02-07 13:56:58 -06:00
Todd Gruben
23970b98dc
changed roaring.NewBitmapBTree to roaring.NewBTreeBitmap
2018-02-07 13:56:58 -06:00
Todd Gruben
440980384c
applied travis suggestions
2018-02-07 13:56:58 -06:00
Todd Gruben
8a70c4e5a3
added slice containers type for in memory bitmaps and btree for file based
2018-02-07 13:56:58 -06:00
Matthew Jaffee
d798963798
fix a bunch of bugs and add some tests
2018-02-07 13:56:56 -06:00
Todd Gruben
1dbe64da3c
made sure Linear and Reverse delt with same bits
2017-12-19 10:45:27 -06:00
Todd Gruben
d0d6d3d6b6
added benchmarks for runs for intersect count
2017-12-19 07:52:53 -06:00
Todd Gruben
4ceaed5316
missed one
2017-12-19 07:21:24 -06:00
Todd Gruben
0f3d26bd30
addressed jaffee suggestions; tweaked parameters
2017-12-19 07:15:40 -06:00
Todd Gruben
ccf57e23cd
removed overlap calc
2017-12-18 15:33:22 -06:00
Todd Gruben
89a42c7fe2
corrected offset value
2017-12-18 15:18:54 -06:00
Todd Gruben
a2195396ca
fixed varible overwrite
2017-12-18 15:01:52 -06:00
Todd Gruben
155472b3db
added benchmark for various container usage patterns
2017-12-18 14:01:11 -06:00
Travis
40b27b6643
Fix panic when iterating over an empty run container.
...
When the difference of two run containers resulted in an empty
container, that container would be a run container with no runs.
The Iterator was expected there to be at least on run in
`container.runs`. This fix protects against that and adds tests
for that case.
2017-09-27 15:11:16 -05:00
Todd Gruben
3f3cc60531
micro optimization to bitmap difference
2017-09-27 11:17:15 -05:00
Matthew Jaffee
f6b75e0361
fix Bitmap.CountRange bugs, comment, test
2017-08-15 17:07:15 -05:00
Travis
8f3cb3e761
add a comment to TestBitmap_BitmapCountRangeEdgeCase
2017-08-10 08:46:13 -05:00
Todd Gruben
5d39bc0b1c
addressing concerns
2017-08-09 15:34:59 -05:00
Todd Gruben
93257af5d2
CountRange was incorrect if rangekey was prior to inital container
2017-08-09 14:06:22 -05:00
Todd Gruben
a3f3ca3c5a
fixed overflow in interval16 runlen; added rle tests
2017-08-01 16:25:11 -05:00
Todd Gruben
d7272f46a2
converted containers to 16bit
2017-07-27 13:00:14 -05:00
Travis Turner
023c7fa18f
Merge pull request #672 from travisturner/roaring-intersect-tests
...
Roaring intersect tests
2017-06-23 10:39:45 -05:00
Travis
c8ef6fde89
test edge case (end exclusive) in arrayCountRange for range [start, end)
2017-06-23 10:24:43 -05:00
Travis Turner
987f7ca3bf
Merge pull request #674 from travisturner/fix-differencearrayrun-logic
...
bug fix in `differenceArrayRun` logic.
2017-06-22 16:26:09 -05:00
Todd Gruben
c6bf1bc55f
Merge branch '334-rle-rebased' of github.com:pilosa/pilosa into 334-rle-rebased
2017-06-22 16:21:23 -05:00
Todd Gruben
b14a31dab3
fixed bug with xor; extended test coverage for xor
2017-06-22 16:21:19 -05:00
Travis
fc6898a933
remove a test that was not testing the correct thing
2017-06-22 16:07:21 -05:00
Travis
8fd752ddb1
bug fix in differenceArrayRun logic. add more test coverage for differenceArrayRun
2017-06-22 16:03:20 -05:00
Travis
1e0a529b4e
improve coverage in intersect** operations
2017-06-22 14:01:55 -05:00
Travis
087c78a0df
add test coverage for CountRange operations
2017-06-22 14:01:42 -05:00
Travis Turner
4b1f2efe08
Merge pull request #671 from travisturner/intersectioncount-tests
...
Improves test coverage for `IntersectionCount` operations
2017-06-22 12:28:36 -05:00
Travis
10490a3402
Improves test coverage for IntersectionCount operations
2017-06-22 11:03:05 -05:00
Todd Gruben
188a4aa8d9
extended bitmap contains test coverage
2017-06-22 10:58:47 -05:00
Travis Turner
79482769b3
Merge pull request #669 from travisturner/fix-array-run-transitions
...
Standardize the default iterator val for j to -1 for both arrays and runs
2017-06-21 16:01:52 -05:00
Travis
a387deefb1
Test the case where last and first bits of adjoining containers are set.
2017-06-21 09:20:54 -05:00
Todd Gruben
0508a3c31f
fixed bug in difference;added more roaring test coverage
2017-06-20 18:19:58 -05:00
Travis
eeaabff7fe
Standardize the default iterator value for j to -1 for both arrays and runs
2017-06-20 16:46:40 -05:00
Todd Gruben
8822362772
extending roaring test coverage
2017-06-20 08:22:45 -05:00
Todd Gruben
432e95a4e8
added test for bitmap.clone()
2017-06-19 10:43:06 -05:00
Todd Gruben
02cba542e8
bug in CountRange
2017-06-19 10:43:06 -05:00
Alan Bernstein
ea59de4234
Update check function for run containers, add tests
2017-06-19 10:43:05 -05:00
Alan Bernstein
76a05d38b5
Add test TODO comments
2017-06-19 10:40:00 -05:00
Todd Gruben
6609120464
replaced linear search with binary search in run container
2017-06-19 10:40:00 -05:00