lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@osafoundation.org>
Subject Re: BitVector.get bounds checking
Date Tue, 03 Feb 2009 20:54:04 GMT

On Tue, 3 Feb 2009, Michael McCandless wrote:

> Do you mean the assert statement?  That's available since 1.4.

Yeah, that's what I meant. 1.5 vs 1.4 is getting blurry :)

Andi..

>
> Mike
>
> Andi Vajda wrote:
>
>> Isn't that depending on Java 1.5 ?
>> 
>> Andi..
>> 
>> On Feb 3, 2009, at 11:38, Michael McCandless <lucene@mikemccandless.com> 
>> wrote:
>> 
>>> 
>>> I think that makes sense.  I'll wait a day or so and then commit it if 
>>> there are no objections.
>>> 
>>> Mike
>>> 
>>> Jason Rutherglen wrote:
>>> 
>>>> A simple way to make BitVector faster would be to turn the get method
>>>> bounds checking into an assertion. This is similar to
>>>> OpenBitSet.fastGet.
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>> 
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>

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