- Published on
Why is 2 * (i * i) faster than 2 * i * i in Java?
- Authors
- Name
- Hao Chen
- @haoel
Content
https://stackoverflow.com/questions/53452713/why-is-2-i-i-faster-than-2-i-i-in-java
Link Preview
- https://stackoverflow.com/questions/53452713/why-is-2-i-i-faster-than-2-i-i-in-java
- Why is 2 * (i * i) faster than 2 * i * i in Java?
- The following Java program takes on average between 0.50 secs and 0.55 secs to run: