Steve Yen
|
5927224e15
|
optimize mergeOldAndNew for case of first time a doc is seen
|
2017-01-09 22:48:58 -08:00 |
|
Steve Yen
|
790f2e3e32
|
optimize by alloc'ing arrays of TermFrequencyRow/TermVector
|
2017-01-09 22:42:00 -08:00 |
|
Steve Yen
|
8f4726ab10
|
use struct{}{} idiom instead of additional mark var
|
2017-01-09 10:17:26 -08:00 |
|
Steve Yen
|
302cac72c4
|
optimize mergeOldAndNew when non-update case
|
2017-01-08 17:59:49 -08:00 |
|
Steve Yen
|
40780254ae
|
optimize upsidedown mergeOldAndNew existing key maps
The optimization is to provide a better initial size to the map
constructor and to use a 0-byte-sized struct{} as the map values.
|
2017-01-07 22:05:55 -08:00 |
|
Steve Yen
|
c2bafa2a51
|
optimize term vectors/locations via preallocated arrays
The change should hit the allocator less often when processing term
vectors/locations as it preallocates larger, contiguous arrays of
records upfront.
|
2017-01-07 12:34:06 -08:00 |
|
Steve Yen
|
8b140d84c4
|
minor optimization of upsidedown backIndexRowForDoc
This change might allow a smart enough golang compiler to perhaps
allocate a backIndexRow on the stack rather than the heap.
|
2017-01-07 11:49:42 -08:00 |
|
Marty Schoch
|
2332455bd2
|
nicer formatting of license header
|
2016-10-02 10:13:14 -04:00 |
|
Marty Schoch
|
f90856b8d3
|
BREAKING CHANGE - rename upside_down to upsidedown
|
2016-09-30 12:36:38 -04:00 |
|