in reply to Benchmarking the basic operations
It would be interesting to see results of this benchmark from other platforms; these are operations where the efficiency definitely depends on the underlying hardware.
Since >= and < took almost exactly the same amount of time, I conjectured that $foo >= $bar might get translated to $bar < $foo by the compiler, but this appears to not be the case:
But then, $foo >= $bar is actually equivalent to $bar <= $foo, so you don't gain anything by doing the conversion. :)
|
---|
Replies are listed 'Best First'. | |
---|---|
(tye)Re: Benchmarking the basic operations
by tye (Sage) on Jan 24, 2001 at 23:58 UTC | |
by chipmunk (Parson) on Jan 26, 2001 at 01:12 UTC | |
by coreolyn (Parson) on Jan 30, 2001 at 20:23 UTC | |
by tye (Sage) on Jan 30, 2001 at 20:55 UTC |
In Section
Meditations