Rework to use bolthold/boltdb instead of badgerhold/badgerdb, much more memory efficient
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package entity
|
||||
|
||||
type WordIndex struct {
|
||||
Word string `badgerhold:"index"`
|
||||
Word string `bolthold:"index"`
|
||||
// Bitmap roaring.Bitmap
|
||||
Bitmap map[uint64]bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user