lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eks dev <eks...@yahoo.co.uk>
Subject Re: Another DisjunctionSumScorer micro-tweak / simplification?
Date Wed, 23 Jan 2008 15:56:31 GMT
I have attached patch to LUCENE-1145  just in case.
As far as my testing was correct, it is a bit faster, well,  at least not slower.


----- Original Message ----
From: Yonik Seeley <yonik@apache.org>
To: java-dev@lucene.apache.org
Sent: Wednesday, 23 January, 2008 2:59:52 PM
Subject: Re: Another DisjunctionSumScorer micro-tweak / simplification?

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






      ___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/


---------------------------------------------------------------------
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