lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Another DisjunctionSumScorer micro-tweak / simplification?
Date Wed, 23 Jan 2008 13:59:52 GMT
On Jan 23, 2008 8:50 AM, eks dev <eksdev@yahoo.co.uk> wrote:
> this value gets practically maintained on two places, any reason for that?  I would suggest
to use scorerDocQueue.size()  uniformly as this method gets definitely inlined.

You're probably right... in the presence of proper inlining, using
scorerDocQueue.size() could actually be slightly faster.  These things
often need to be verified of course.

-Yonik

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


Mime
View raw message