lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucenenet] theolivenbaum opened a new pull request #371: Add new interface to NumericDocValues to close #370
Date Sat, 17 Oct 2020 14:55:27 GMT

theolivenbaum opened a new pull request #371:
URL: https://github.com/apache/lucenenet/pull/371


   As mentioned in #370, we measured a significant number of allocations when reading values
from the cache, due to a variable capture inside a lambda and a new FieldCache.T instance
being created.
   
   Adding an interface to the class NumericDocValues for each of the supported types instead
of using the lambda, and adding a cached FieldCache.T for each type on the NumericDocValues
class that is created only on first use.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message