On 2/7/2012 3:14 AM, Peter Duniho wrote:
> On Fri, 3 Feb 2012 05:15:00 -0800 (PST), omtechguy wrote:
>> What is better in terms of performence and what is the reason?
>
> The best way to answer a performance question is to test the performance of
> your available implementation choices in a real-world scenario.
It is the fastest way to get a result that looks more useful than
throwing a dice.
But in most cases the result is not more useful than throwing a
dice.
Getting results that truly reflects the performance for
the lifetime of the code is hard work.
>> Any better way to write the above?
>
> The right way to write the code is to write it in a way that is most easily
> understood and which does the best job helping anyone who might visit the
> code later to avoid breaking it.
Yep.
Arne
|