473,395 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Size of class libraries

Hey all,

Does it matter what the size of your compiled class libraries is? Since I
started developing for my company, I keep adding new classes to my library
almost everyday (of course under different and neat namespaces). Is it ok to
place everything in one large dll file, or should I split it up? It's not
like I have 1000 classes or something though - the complete library has
around 25 classes now, though some are for completely different projects. Is
it wise to split them up for completely different projects (and thus
namespaces, getting something like Company.Project1.dll and
Company.Project2.dll)? I like the idea of having one complete library to
use, but what is the impact of this on peformance? Does the system simply
load only the classes from the dll it needs? Does it load the completely
library? I hope someone can give me some info on this.

Thanks a lot,

Razzie
Nov 16 '05 #1
1 1112
I would say, that if the classes kind of logically fall into groups, where
each group is relevant to one project, that in that case you might want to
split it up into several projects/DLL's.

"Razzie" <ra****@quicknet.nl> wrote in message
news:u6***************@TK2MSFTNGP09.phx.gbl...
Hey all,

Does it matter what the size of your compiled class libraries is? Since I
started developing for my company, I keep adding new classes to my library
almost everyday (of course under different and neat namespaces). Is it ok to place everything in one large dll file, or should I split it up? It's not
like I have 1000 classes or something though - the complete library has
around 25 classes now, though some are for completely different projects. Is it wise to split them up for completely different projects (and thus
namespaces, getting something like Company.Project1.dll and
Company.Project2.dll)? I like the idea of having one complete library to
use, but what is the impact of this on peformance? Does the system simply
load only the classes from the dll it needs? Does it load the completely
library? I hope someone can give me some info on this.

Thanks a lot,

Razzie

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Marcus | last post by:
Hi all, Quick question... I have a class that is over 1200 lines of code and 50 KB in size. This file does not display any html, it is just included and after I call all the necessary...
1
by: rinku24 | last post by:
We have two C++ libraries (Unix Shared objects) with the same class name and no namespace. Is there any way to load both the libraries and selectivly create the instance of the class from...
13
by: HappyHippy | last post by:
Hi, I'm wondering what you think about this piece of code: #include<iostream> int main() { int size; std::cin >> size;
8
by: Mark | last post by:
Is there a point when the size of a asp.net web project is too big ... and it really should be broken down into multiple projects? For example, there is a significant difference in .dll size...
10
by: Pep | last post by:
I have a problem I need to solve which looks like memory exhaustion. Is there a function that I can use in c++ to determine the size of the heap before and after a allocation? The C++ code is...
1
by: Ajay | last post by:
Hello All, I have one question in mind...when you derive an empty class and see its size it comes 1 byte,can somebody tell me why.....Thanks in advance. Ajay
2
by: anandsoni | last post by:
Guys, I have an application that has so many components/modules embeded into it and the file when built has the size of around 100MB. The application runs little slow but I cannot think of other...
1
by: chrisj | last post by:
I'm using freeASPupload and got some assistance integrating to a Member script. It works successfully. In this modified version there are two groups that use this upload script. Members of one...
3
by: Dot.Hu | last post by:
I'm using static libraries and dynamic libraries every day. Now I want to know when I add one static library into my project, the libray will be all added into the final exe file, or only the part...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.