lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: BitVector.get bounds checking
Date Tue, 03 Feb 2009 20:00:31 GMT

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

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


Mime
View raw message