[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: x < y < z
- From: Tom N Harris <whoopdedo@...>
- Date: Thu, 16 Jul 2015 23:20:35 -0400
On Thursday, July 16, 2015 05:52:30 PM Tim Hill wrote:
> You aren’t getting any run-time benefit, since the logic is just the same.
There is a small advantage with `minimum <= ComputeThisValue() <= maximum` in
that the VM can store the result in a temporary register for both compares.
The same thing would require declaring a local for the value and occupying
that register until the end of the scope.
--
tom <telliamed@whoopdedo.org>