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'?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top