PC Review


Reply
Thread Tools Rate Thread

Class Definitions and Performance

 
 
Rlrcstr
Guest
Posts: n/a
 
      29th Feb 2004
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


 
Reply With Quote
 
 
 
 
CJ Taylor
Guest
Posts: n/a
 
      29th Feb 2004
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" <(E-Mail Removed)> wrote in message
news:eeKtg$v$(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      29th Feb 2004
* "Rlrcstr" <(E-Mail Removed)> scripsit:
> 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'?

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
Website Address Changed!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Class definitions: VBA vs. VB .NET Ed Sowell Microsoft VB .NET 23 17th Apr 2009 06:45 PM
Parse class definitions Pete Kane Microsoft C# .NET 3 5th Feb 2009 04:34 PM
Statically getting fields of classes without knowing the class definitions. gz Microsoft Dot NET 2 17th Nov 2007 09:13 PM
Rearrange definitions to top of class? lallous Microsoft C# .NET 2 18th Sep 2006 06:19 PM
Error Updating Definitions 0x80040154: Class not registered =?Utf-8?B?bWNhbGFw?= Spyware Discussion 0 28th Mar 2006 06:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:16 AM.