Sorry - part of the question is obviously- if the if() is false, does 
AB do anything/spend any time on the statements within the true 
clause.  I would think it wouldn't; correct?

--- In [email protected], "monitorit" <[EMAIL PROTECTED]> wrote:
>
> Is there any significant performance penalty for using the same 
> insert linked afl into a 2 and 5 min window vs running the desired 
> code insert linked 2 different files giveing the same results? 
> By pseuodcode Im asking:
> *******************************
> //file for 2&5 min windows
> _section_begin("aflBoth")
> 
> common calculationsToBoth
> 
> if (Interval(0)<121)
> {  ...large number of calculations2min  }
> 
> if (Interval(0)>299)
> {  ...large number of calculations5min  }
> _section_end();
> 
> *************VERSUS**************
> 
> //file for 2min window
> _section_begin("afl2") 
> calculationsCommonToBoth
> ...large number of calculations2min
> _section_end();
> 
> 
> //file for 5min window
> _section_begin("afl5") 
> calculationsCommonToBoth
> ...large number of calculations5min
> _section_end();
>


Reply via email to