4 ms·
Why is < faster than <=?
- ta12121 14y agoThe top voted answer explains that the premise of the question and therefore the title of the submission is wrong.
- acqq 14y agoSo you missed the answer from ridiculous_fish there: on Power PC CPU's doing floating point comparisons the speeds are actually different. That's a perfect counterexample for your claim that "the premise is wrong." Detailed explanation about reasons was given by Lukas.
- deleted 14y ago[deleted]
- ta12121 14y agoThe Detailed Explanation given by Lucas concludes: So, on some machines, using a "less than" comparison might save one machine instruction. This was relevant in the era of sub-megahertz processor speed and 1:1 cpu-to-memory speed ratios, but is almost totally irrelevant today.
- mrjbq7 14y agoWhy is this a frontpage HN post?
- zerostar07 14y agoWhat was that law that said that all titles that ended with a question mark can be answered "No"?
- deleted 14y ago[deleted]
- cnu 14y agoBetteridge's Law of Headlines - http://en.wikipedia.org/wiki/Betteridges_Law_of_Headlines http://en.wikipedia.org/wiki/Betteridges_Law_of_Headlines
- rootedbox 14y agoIt may or may not be.. Its dependent on CPU, and Compiler.