lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karl wettin <>
Subject this == that
Date Sat, 29 Apr 2006 20:50:48 GMT
The code is filled with string equality code using == rather than  
equals(). I honestly don't think it saves a single clock tick as the  
JIT takes care of it when the first line of code in the equals method  
is if (this == that) return true;

Please correct me if I'm wrong.

I can commit to do the changes to the core code if it is considered  

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message