glycerine / roaring Goto Github PK
View Code? Open in Web Editor NEWThis project forked from roaringbitmap/roaring
Roaring bitmaps in Go (golang)
Home Page: https://godoc.org/github.com/glycerine/roaring
License: Apache License 2.0
This project forked from roaringbitmap/roaring
Roaring bitmaps in Go (golang)
Home Page: https://godoc.org/github.com/glycerine/roaring
License: Apache License 2.0
when roaringarray.go's func rangeOfOnes(start, last int) container is implemented purely with bitmaps, arrays, or rle16 containers, I see test suite failure. Here are the 3 options:
For context: this
https://github.com/RoaringBitmap/roaring/blob/master/roaringarray.go#L42
is being replaced by:
func rangeOfOnes(start, last int) container {
return newBitmapContainerwithRange(start, last) // option 1
//return newArrayContainerRange(start, last) // option 2
//return newRunContainer16Range(uint64(start), uint64(last)) // option3
}
and here are the suite fails, which are different in each case:
bitmaps for runs, test failures:
func TestDoubleAndNotBug01(t *testing.T) fails, line 1681
Failures:
* /Users/jaten/go/src/github.com/glycerine/roaring/roaring_test.go
Line 1681:
Expected: true
Actual: false
----------
arrays for runs: 2 distinct fails:
Failures:
* /Users/jaten/go/src/github.com/glycerine/roaring/roaring_test.go
Line 1616:
Expected: 'true'
Actual: 'false'
(Should be equal)
--- FAIL: TestDoubleAdd2 (0.01s)
Failures:
* /Users/jaten/go/src/github.com/glycerine/roaring/roaring_test.go
Line 1629:
Expected: 'true'
Actual: 'false'
(Should be equal)
--- FAIL: TestDoubleAdd3 (0.01s)
----------
with rle16:
Failures:
* /Users/jaten/go/src/github.com/glycerine/roaring/roaring_test.go
Line 787:
Expected: '96617'
Actual: '9'
(Should be equal)
Failures:
* /Users/jaten/go/src/github.com/glycerine/roaring/roaring_test.go
Line 865:
Expected: '35392'
Actual: '1928'
(Should be equal)
* /Users/jaten/go/src/github.com/glycerine/roaring/roaring_test.go
Line 886:
Expected: '131999'
Actual: '131351'
(Should be equal)
Failures:
* /Users/jaten/go/src/github.com/glycerine/roaring/roaring_test.go
Line 933:
Expected: 'true'
Actual: 'false'
(Should be equal)
Failures:
* /Users/jaten/go/src/github.com/glycerine/roaring/roaring_test.go
Line 1589:
Expected: 'true'
Actual: 'false'
(Should be equal)
--- FAIL: TestFlipBigA (0.12s)
I think that newBitmapContainerwithRange is no longer used.
It appears that msgpackSerializedSizeInBytes is not subject to unit tests right now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.