Not much you can do about doing time consuming things within a loop. Just be 
judicious and don't do anything unnecessary. Also decrease the screen 
refresh rate to the minimum you need.

You can look in afl editor to see where time is being spent and optimize 
that area of code.

You can always compile your code to increase speed, but that may be beyond 
your tech savy (as it is for most).




----- Original Message ----- 
From: "jay_podda" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, January 10, 2008 6:03 PM
Subject: [amibroker] Re: Running AB from command prompt


> Thanks much. It worked.
> Another question - How can I speed up afl code with for loop on large
> sample data, which draws line within loop.
>
> --- In [email protected], "Ara Kaloiustian" <[EMAIL PROTECTED]> wrote:
>>
>> delete files:
>> Default.awl
>> Default.layout
>>
>> Actually change names to default.old or something ...
>>
>> ----- Original Message ----- 
>> From: "jay_podda" <[EMAIL PROTECTED]>
>> To: <[email protected]>
>> Sent: Thursday, January 10, 2008 2:51 PM
>> Subject: [amibroker] Running AB from command prompt
>>
>>
>> > Is there a way to run AB from command prompt with DB name
> (optionally
>> > loading symbol with specific layout)?. I have a not well written .
> afl
>> > in layout (caused by very large data samples for symbol in DB). If
>> > runs .afl and my computer's memory usage goes more than 2GB and
>> > finally hangs. I can't even do CTRL+Break to kill .afl execution.
>> > There is no way I can modify and remove troubling .afl from
> layout. If
>> > I can atleast run AB from command prompt with some other default
> DB,
>> > and then go in and fix layout by removing .afl might work.
>> >
>> > Or, is there any alternate way?
>> >
>> >
>> >
>> >
>> > 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
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>
>
>
>
> 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
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> 

Reply via email to