as a matter of fact, you can, keeping literals on left hand side prevents some ugly accidental assignments, so at the end of day you have more time to speed things up instead of chasing bugs :)
cheers Hoss, god to see you are following this ----- Original Message ---- > From: Chris Hostetter <[EMAIL PROTECTED]> > To: java-dev@lucene.apache.org > Sent: Tuesday, 29 July, 2008 3:13:12 AM > Subject: Re: [jira] Commented: (LUCENE-1345) Allow Filter as clause to > BooleanQuery > > > : Eks: just for grins, you can sometimes save a single cycle by changing > : "id==-1" to "id<0" (many operations on x86 automatically set status > > can you save anymore if you use "0>id" ? :) > > > -Hoss > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]