![]() This change adds a zap PostingsIterator.nextBytes() method, which is similar to Next(), but instead of returning a Posting instance, nextBytes() returns the encoded freq/norm and location byte slices. The zap merge code then provides those byte slices directly to the intCoder's via a new method, intCoder.AddBytes(), thereby avoiding having to encode many uvarint's. |
||
---|---|---|
.. | ||
mem | ||
zap | ||
empty.go | ||
int_test.go | ||
int.go | ||
segment.go |