Class Definitions and Performance

  • Thread starter Thread starter Rlrcstr
  • Start date Start date
R

Rlrcstr

Is there any performance or end-result size difference if you define several
classes in a single module as opposed to defining each class in a separate
module? Thanks.

Jerry
 
Shouldn't unless they are all shared. I believe (pretty sure) that memory
is allocated at the initialization of the class (or any new object for that
matter), not when its referenced or its caller is loaded.

I think that made sense.
 
* "Rlrcstr said:
Is there any performance or end-result size difference if you define several
classes in a single module as opposed to defining each class in a separate
module?

Module?

Class library?
File?
'Module...End Module'?
 
Back
Top