Files
tantivy/src/fieldnorm
Paul Masurel f79250f665 Fix perf regression in the benchmark for the Count collector.
In order to reduce IO, we introduced a way to instanciate a dummy
constant FieldnormReader which worked by allocating a buffer with
as many bytes as there are docs in the segments.

This allocation is not a negligible by any mean.

This PR works by offering two implementation for the
FieldnormReader.
The const field norm reader simply returns the same value all of the
time, while the array based one does the same as the current one.
2020-12-01 08:51:32 +09:00
..
2019-07-17 13:06:44 +09:00
2020-07-20 13:05:05 +09:00
2019-07-01 10:01:46 +09:00
2020-10-01 18:03:18 +09:00