]
Tristan Tarrant updated ISPN-6557:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 9.0.0.Final
Resolution: Done
Obtain the Matcher eagerly in QueryEngine and avoid further costs to
look it up
-------------------------------------------------------------------------------
Key: ISPN-6557
URL:
https://issues.jboss.org/browse/ISPN-6557
Project: Infinispan
Issue Type: Enhancement
Components: Embedded Querying
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Priority: Minor
Fix For: 9.0.0.Alpha2, 9.0.0.Final
QueryEngine.getMatcher() is called many times and it always hits the component registry.
The matcher could be retrieved once during construction and cached for later usage.