0
0
bleve/index
Steve Yen dde6c2e01b scorch zap optimize writeRoaringWithLen()
Before this change, writeRoaringWithLen() would leverage a reused
bytes.Buffer (#A) and invoke the roaring.WriteTo() API.

But, it turns out the roaring.WriteTo() API has a suboptimal
implementation, in that underneath-the-hood it converts the roaring
bitmap to a byte buffer (using roaring.ToBytes()), and then calls
Write().  But, that Write() turns out to be an additional memcpy into
the provided bytes.Buffer (#A).

By directly invoking roaring.ToBytes(), this change to
writeRoaringWithLen() avoids the extra memory allocation and memcpy.
2018-03-06 14:59:20 -08:00
..
scorch scorch zap optimize writeRoaringWithLen() 2018-03-06 14:59:20 -08:00
store import couchbase/vellum instead of couchbaselabs/vellum 2017-12-19 10:49:57 -08:00
upsidedown MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08:00
analysis.go working in-memory version 2017-11-29 11:33:35 -05:00
field_cache.go nicer formatting of license header 2016-10-02 10:13:14 -04:00
index.go MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08:00