On 4/26/06, Charlie <[EMAIL PROTECTED]> wrote:
>    writeByte((byte)((i & 0x7f) | 0x80));
>    writeByte((byte)(i | 0x80));

Yes, these two lines are equivalent.
It's fairly likely that the JVM already does this optimization for you though...
at least gcc -O already compiles to identical assembly for those two lines.

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to