Unless a test reflects reality, what good is it...??? And that is why I agree with the points in your second paragraph...
>Ok, and here comes Jim with a can of gasoline for the fire. I too prefer the do case construct, but I did test and for 100,000 interations the average time for the do case was .6XX seconds while teh averawge time for the one liner was .39X seconds. Almost twice as fast.
>
>However, I am a firm believer in NOT optimizing for performance until there is a perceived preformance problem and I don't think the difference btween these two approaches will cause a perceived performance problem, hell if we were calulating the issue for 1,000,000 years it would sitll only have a difference of ~3 seconds.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement