S
Steve W
We have our code in about a dozen different VB.Net objects.
I'd like to ask 2 questions :
1. The compiled .dll files range in size from 10kb to 200kb, except for
one that is around 750Kb. Should I worry about this and look to split this
into smaller files ? I guess the question I am asking is whether once an
object has been loaded by the CLR once (by the first instantiation of it),
what is the cost of further instantiations ? Does the object get loaded all
over again or does the fact that the code is already in memory reduce the
amount of work that needs to be done by the CLR (and presumably memory
requirements) ? If the former then does that imply I should consider
splitting this object into several others ?
2. All the objects inherit from our template object. Should I be concerned
about the size of this object ? What impact on loading derived objects are
there if this is large ?
Thanks
Steve
I'd like to ask 2 questions :
1. The compiled .dll files range in size from 10kb to 200kb, except for
one that is around 750Kb. Should I worry about this and look to split this
into smaller files ? I guess the question I am asking is whether once an
object has been loaded by the CLR once (by the first instantiation of it),
what is the cost of further instantiations ? Does the object get loaded all
over again or does the fact that the code is already in memory reduce the
amount of work that needs to be done by the CLR (and presumably memory
requirements) ? If the former then does that imply I should consider
splitting this object into several others ?
2. All the objects inherit from our template object. Should I be concerned
about the size of this object ? What impact on loading derived objects are
there if this is large ?
Thanks
Steve