in reply to Re: Conditional idiom : "if X equals Y or Z" ?? - benchmark
in thread Conditional idiom : "if X equals Y or Z" ??
Of course, if all you are doing in your program is performing this test once, for the 8 entries in @tabs you shouldn't bother. Optimizing is only useful for hot spots in your code, things you either do many times, or things that are very costly. Trivial checks that will only be done 8 times in your code aren't worth to be optimized.
Abigail
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Conditional idiom : "if X equals Y or Z" ?? - benchmark
by George_Sherston (Vicar) on Jun 12, 2002 at 13:23 UTC |