[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Does number of DLLs affect AmiBroker's performance ?



PureBytes Links

Trading Reference Links

Wow, thanks.  That just goes to show you how much I do not know - it was
not common knowledge for me :(

I had to follow the steps in the ADK verbatim to learn how to write a
DLL in C++.  Would you mind outlining these new steps for us when you
get the chance (unless it is outlined at
http://msdn.microsoft.com/msdnmag/issues/0500/hood/, I haven't taken the
time to review completely yet)?

Regards,
Peter

> -----Original Message-----
> From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
> Sent: Monday, August 11, 2003 3:27 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Does number of DLLs affect AmiBroker's
> performance ?
> 
> Peter,
> 
> It is not described in the ADK, however I consider this as 'common
> knowleadge'
> for Windows programmers. The DLLs in Windows are basic programming
tool,
> and re-basing occurs in every Windows application.
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "bluesinvestor" <bluesinvestor@xxxxxxxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Monday, August 11, 2003 8:57 PM
> Subject: RE: [amibroker] Does number of DLLs affect AmiBroker's
> performance ?
> 
> 
> > Tomasz,
> >
> > Is this described in the ADK manual?
> >
> > Regards,
> > Peter
> >
> > > -----Original Message-----
> > > From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
> > > Sent: Monday, August 11, 2003 2:38 PM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: Re: [amibroker] Does number of DLLs affect AmiBroker's
> > > performance ?
> > >
> > > Salil,
> > >
> > > Well it certainly affects AmiBroker load and exit times.
> > > The more DLLs there are the slower start up because DLL must
> > > be loaded. Things become worse as most of developers
> > > do not care about setting appropriate "base" for the DLL
> > > (via BASE switch in the linker).
> > >
> > > The DLLs delivered with AmiBroker have distinct base load
> > > addresses and there is no conflict.
> > >
> > > On the other hand all 3rd party plugins I have seen do not set
> > > base to value other than 0x10000000 (the default).
> > >
> > > This causes that Windows have to re-base 3rd party DLLs during
loading
> > > because of conflicting addresses. Rebasing is automatic
> > > but it takes additional milliseconds.
> > > http://msdn.microsoft.com/msdnmag/issues/0500/hood/
> > >
> > > Some slow down may be added if you have lots of plugins
> > > adding lots of new functions - functions get added to symbol map
> > > and the larger map is then symbol lookup is slower.
> > > This however should be non-issue because lookups in hashtable
> > > based maps are very quick and take a lot less than real processing
> > > of data.
> > >
> > >
> > > Best regards,
> > > Tomasz Janeczko
> > > amibroker.com
> > > ----- Original Message -----
> > > From: "salil_gangal" <salil_gangal@xxxxxxxxx>
> > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > Sent: Monday, August 11, 2003 8:21 PM
> > > Subject: [amibroker] Does number of DLLs affect AmiBroker's
> > performance ?
> > >
> > >
> > > > Friends,
> > > >
> > > > Does the number of DLLs I have linked into AmiBroker affect the
> > > > performance of AmiBroker in any way ?  If it does, how exactly
does
> > > > it get affected ?
> > > >
> > > > At present I have over 40 .DLLs (some of them old, some of them
> > > > trivial/experimental, others fully functional), so is it bettter
to
> > > > roll a few of them into fewer DLLs or is it better to keep them
> > > > seperate ?  Will it improve performance if I delete the old and
> > > > experimental DLLs or it is a non-issue ?
> > > >
> > > > Regards,
> > > > - Salil V Gangal
> > > >
> > > >
> > > >
> > > > Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > > > Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > > > -----------------------------------------
> > > > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > > --------------------------------------------
> > > > Check group FAQ at:
> > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > > >
> > > > Your use of Yahoo! Groups is subject to
> > > http://docs.yahoo.com/info/terms/
> > > >
> > > >
> > > >
> > >
> > > ------------------------ Yahoo! Groups Sponsor
> > >
> > > Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > > Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > > -----------------------------------------
> > > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > > --------------------------------------------
> > > Check group FAQ at:
> > > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> > >
> > > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> > >
> > >
> >
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> > Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> >
> >
> >
> 
> ------------------------ Yahoo! Groups Sponsor
> 
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> 
> 



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/