Results 1 to 4 of 4

Thread: DLL Size

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    England
    Posts
    4

    Question DLL Size

    In terms of performance which of the following is better:

    A large dll containing many Vb components

    Or many dlls containing one or two Vb components.

    Note: The dll's would run in COM+
    Nick

  2. #2
    Behemoth
    Guest
    They always told me size didn't matter. It's all about personality.

  3. #3
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    large dll containing many Vb components has more personality, but would probably have the responses of a snail

    many dlls containing one or two Vb components has no personality, but would probably have the responses of a jet fighter.

    Oh yes.

  4. #4
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    The overhead for a DLL is relatively fixed in size. So if you had one DLL that was 10X in size, then it would have an overhead of 1Y. Where as if you had 10 DLLs that were 1X in size then would have an overhead approaching 10Y.

    But... if you don't need to call them all at once, and if you want to add 'mobility' to your app (you can switch out single smaller DLLs and not have to recompile one big one), then ten smaller ones is the way to go. You won't notice the 10Y because you may only invoke 1X and 1Y at a time, instead of being forced to invoke 10X and 1Y.

    Now I have a question... is it faster to make 1 SQL query for 10 days of data, or 10 queries for 1 day each?

    I would have to imagine that it is faster to make one query.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width