Browse Source
Instead of using a compare-with-0 use a does not equal 0. javac bytecode has a special instruction for this, as it is very common in software. We can assume the JIT knows how to efficiently translate the opcode to machine code, and processors can do != 0 very quickly. Change-Id: Idb84c1d744d2874517fd4bfa1db390e2dbf64eacstable-3.0
Shawn Pearce
12 years ago
1 changed files with 5 additions and 8 deletions
Loading…
Reference in new issue