You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2015/03/08 20:03:38 UTC
[jira] [Commented] (LUCENE-6349) Call hashCode outside of sync in
UsageTrackingQueryCachingPolicy.onUse?
[ https://issues.apache.org/jira/browse/LUCENE-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352202#comment-14352202 ]
Simon Willnauer commented on LUCENE-6349:
-----------------------------------------
+1
> 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