473,406 Members | 2,312 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,406 software developers and data experts.

Size of Common Assembly

Hi everyone,

I am a newbie to this group and have a general question. What size
assembly is a good size for putting common objects and their methods
into so as not to have too much overhead when calling one object. I
understand that it depends on the amount of memory in the computer. I
heard that the rest of the assembly is also loaded into memory with
the one object that was instantiated. Is that true? If so then how
many objects would you recommend to put into an assembly to keep the
size down? With one method having around 50 lines of code and an
object having around 5 methods. Is there already a design for
organizing a central common reusable assembly out there? If so what
are the general rules of thumb?

The Great Pawn Hunter

May 16 '07 #1
1 1151
You can put an awful lot into a single assembly. Check out the mscorlib
assembly in your Visual Studio object browser.

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"The Great Pawn Hunter" <ma********@aol.comwrote in message
news:11**********************@w5g2000hsg.googlegro ups.com...
Hi everyone,

I am a newbie to this group and have a general question. What size
assembly is a good size for putting common objects and their methods
into so as not to have too much overhead when calling one object. I
understand that it depends on the amount of memory in the computer. I
heard that the rest of the assembly is also loaded into memory with
the one object that was instantiated. Is that true? If so then how
many objects would you recommend to put into an assembly to keep the
size down? With one method having around 50 lines of code and an
object having around 5 methods. Is there already a design for
organizing a central common reusable assembly out there? If so what
are the general rules of thumb?

The Great Pawn Hunter

May 16 '07 #2

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

Similar topics

2
by: ronjon | last post by:
I am trying to corelate C code and its associated assembly code produced by gcc. In particular,I am trying to figure out how the stack pointer increments during variable initialization inside a...
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...
4
by: Dave Kolb | last post by:
Hi, It is possible to reference an assembly in a directory other than in the bin subdir without registering in ghe GAC? For instance, I would love to have all my web apps on one server...
2
by: Joe D. | last post by:
Hi! My asp.net application's DLL file is almost 5 MB. Can it be a performance problem? Maybe I should split it into few projects for ex. business objects project, DAL project? What do you...
5
by: wrecker | last post by:
Hi all, I have a few common methods that I need to use at different points in my web application. I'm wondering where the best place would be to put these? I think that I have three options. ...
1
by: Jon Finch | last post by:
Hi All this is a follow up to a post I did a few days back regarding reading a font from an assembly into a memory font object. The only thing I am stuck on is getting the actual memory size of a...
1
by: SteveM | last post by:
I am writing a ToolUsage tracker which we will be accessing from each of our custom written tools. It will basically capture various pieces of information about the user, and the application they...
8
Hackles
by: Hackles | last post by:
Hello, Is it possible to retrieve the size of allocated memory from a pointer (more specifically, a pointer returned my malloc/realloc). This question may have already been asked countless times....
30
by: Angel Tsankov | last post by:
Hello! Does the C++ standard define what happens when the size argument of void* operator new(size_t size) cannot represent the total number of bytes to be allocated? For example: struct S {...
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.