diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-05-21 20:26:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-21 20:26:24 +0200 |
commit | 7f0e6584f6e8f3e38e491494b0a7b24d37db4187 (patch) | |
tree | b76b2600e88d58fbd9163805298c7602ffdf38ea /searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.h | |
parent | 932b3cecfcc71408c9fe25bd23df992737e516a1 (diff) | |
parent | 79346d5d16c549347a15399505acaab96b4a5506 (diff) |
Merge pull request #27144 from vespa-engine/balder/reduce-number-of-allocationsv8.165.119
Balder/reduce number of allocations
Diffstat (limited to 'searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.h')
-rw-r--r-- | searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.h b/searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.h index 1a481be5c32..a2c13f12485 100644 --- a/searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.h +++ b/searchlib/src/vespa/searchlib/queryeval/wand/parallel_weak_and_blueprint.h @@ -44,7 +44,7 @@ public: score_t scoreThreshold, double thresholdBoostFactor, uint32_t scoresAdjustFrequency); - virtual ~ParallelWeakAndBlueprint() override; + ~ParallelWeakAndBlueprint() override; const WeakAndHeap &getScores() const { return _scores; } @@ -56,6 +56,7 @@ public: FieldSpec getNextChildField(const FieldSpec &outer); // Used by create visitor + void reserve(size_t num_children); void addTerm(Blueprint::UP term, int32_t weight); SearchIterator::UP createLeafSearch(const fef::TermFieldMatchDataArray &tfmda, bool strict) const override; |