Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Lucene, mail # dev - BitVector.get bounds checking


Copy link to this message
-
Re: BitVector.get bounds checking
Andi Vajda 2009-02-03, 20:54

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 <[EMAIL PROTECTED]>
>> 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: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

---------------------------------------------------------------------