No difference.
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "monitorit" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, July 03, 2008 2:10 AM
Subject: [amibroker] AB Performance question
> 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();
>
>
> ------------------------------------
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
>
>
>