You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2015/03/08 19:57:38 UTC

[jira] [Created] (LUCENE-6349) Call hashCode outside of sync in UsageTrackingQueryCachingPolicy.onUse?

Michael McCandless created LUCENE-6349:
------------------------------------------

             Summary: Call hashCode outside of sync in UsageTrackingQueryCachingPolicy.onUse?
                 Key: LUCENE-6349
                 URL: https://issues.apache.org/jira/browse/LUCENE-6349
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Michael McCandless
             Fix For: Trunk, 5.1


The Query.hashCode call might be somewhat expensive?  Can/should we call it up front outside of the sync block?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org