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 |
|
Steve Yen
|
c21d27e15a
|
upsidedown TermFieldReader checks includeTermVectors flag param
The flag was part of the API, but wasn't previously checked.
|
2017-01-05 21:10:27 -08:00 |
|
Steve Yen
|
a941a0f318
|
simplify DocumentFieldTerms append() usage
|
2016-10-25 15:30:19 -07:00 |
|
Steve Yen
|
01fb59d293
|
optimize upside-down DictionaryRow for fewer parsing alloc's
|
2016-10-12 09:22:50 -07:00 |
|
Steve Yen
|
2d72b542c0
|
optimize upside-down FieldDict reader with prealloc'ed objects
As part of this commit, there's also a newly added
Dictionaryrow.parseDictionaryK() helper method.
|
2016-10-12 09:18:58 -07:00 |
|
Marty Schoch
|
2f48d7fb02
|
fix misspellings
|
2016-10-02 12:11:15 -04:00 |
|
Marty Schoch
|
2332455bd2
|
nicer formatting of license header
|
2016-10-02 10:13:14 -04:00 |
|
Marty Schoch
|
6bf9dd59ab
|
BREAKING CHANGE - additional package renaming
i recently learned that package names should also prefer the
singular form, not the plural form
|
2016-10-01 17:20:59 -04:00 |
|
Steve Yen
|
c362ab302e
|
fix tracking of termSearchersFinished stats
|
2016-09-30 16:11:30 -07:00 |
|
Marty Schoch
|
f90856b8d3
|
BREAKING CHANGE - rename upside_down to upsidedown
|
2016-09-30 12:36:38 -04:00 |
|