lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: BitVector.get bounds checking
Date Tue, 03 Feb 2009 20:03:07 GMT
Hi Andi,

> Isn't that depending on Java 1.5 ?

Assertions work since Java 1.4 I think. We have a lot of assertions in code.
And it would not compile with -source 1.4, as we do.

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