mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-14 14:58:02 +00:00
Export necessary vars from roaring to fix b+tree containers implementation. Clean up naming. Use constructor replacement for enterprise integration.
13 lines
243 B
Go
13 lines
243 B
Go
// +build enterprise
|
|
|
|
package server
|
|
|
|
import (
|
|
"github.com/pilosa/pilosa/enterprise/b"
|
|
"github.com/pilosa/pilosa/roaring"
|
|
)
|
|
|
|
func init() {
|
|
// Replace Bitmap constructor with B+Tree implementation
|
|
roaring.NewFileBitmap = b.NewBTreeBitmap
|
|
}
|