0
0
bleve/search/scorers
Marty Schoch d7405a4d79 updated attempt to reuse []byte
previous attempt was flawed (but maked by Reset() method)
new approach is to do this work in the Reset() method itself,
logically this is where it belongs.

but further we acknowledge that IndexInternalID []byte lifetime
lives beyond the TermFieldDoc, so another copy is made into
the DocumentMatch.  Although this introduces yet another copy
the theory being tested is that it allows each of these
structuress to reuse memory without additional allocation.
2016-08-03 17:01:27 -04:00
..
scorer_conjunction.go switch back to single DocumentMatch struct 2016-08-01 14:58:02 -04:00
scorer_constant_test.go switch back to single DocumentMatch struct 2016-08-01 14:58:02 -04:00
scorer_constant.go switch back to single DocumentMatch struct 2016-08-01 14:58:02 -04:00
scorer_disjunction.go switch back to single DocumentMatch struct 2016-08-01 14:58:02 -04:00
scorer_term_test.go switch back to single DocumentMatch struct 2016-08-01 14:58:02 -04:00
scorer_term.go updated attempt to reuse []byte 2016-08-03 17:01:27 -04:00
sqrt_cache.go optimize SqrtCache as just-an-array 2016-07-21 19:41:33 -07:00