Imports and performance

  • Thread starter Thread starter Guest
  • Start date Start date
AFAIK it's just a syntaxic issue that is dealt with at compile time. You
could make sure of this by looking at the IL code. What do you think it
would do at runtime ?

Regarding performance your best bet is likely to measure...

Patrice
 
Hi,
AFAIK, there will not be any major or infact even minor performance issues
by selecting one over the other. Imports is just an alias for the full
namespace..It is more of a convenience to use an import for faster
development than anything else..

Which one would you prefer?? Vanila or Strawberry..
More of a matter of taste than anything else...

Happy Coding
 
ok
thanks

Vishnu-Chivukula said:
Hi,
AFAIK, there will not be any major or infact even minor performance issues
by selecting one over the other. Imports is just an alias for the full
namespace..It is more of a convenience to use an import for faster
development than anything else..

Which one would you prefer?? Vanila or Strawberry..
More of a matter of taste than anything else...

Happy Coding
 
If you were to disassembly your assembly and look at the IL code, you
would see that regardless how you code it, it uses fully qualified
variable declarations. This is the work of the compiler. Cheers.

Jason Newell, MCAD
Software Engineer
 
Back
Top