N
news.austin.rr.com
hi,
if I create a class for use as a static class (all methods and properties
are static) doesn't it reside on the stack instead of the heap and doesn't
that mean that GC will process faster since there are fewer objects on the
heap? So is this a valid speed enhancement? I realized there are pros and
cons to making a class purely static but if it can be made static isn't it
best for execution speed?
Thanks
if I create a class for use as a static class (all methods and properties
are static) doesn't it reside on the stack instead of the heap and doesn't
that mean that GC will process faster since there are fewer objects on the
heap? So is this a valid speed enhancement? I realized there are pros and
cons to making a class purely static but if it can be made static isn't it
best for execution speed?
Thanks