This is true on a FPU-less, JIT-less G1 and a Nexus One with an FPU and the JIT. (Of course, absolute speed difference between those two devices is about 10x for arithmetic operations.)
So if there's a difference in run time, it's not because of the arithmetic code.
所以如果在运行时间上有差异,那么不是因为算术代码)。
3
The test command is very powerful, but somewhat unwieldy given its requirement for escaping and given the difference between string and arithmetic comparisons.