473,386 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Imports and performance

LjP
I wonder if using Imports keyword or using full name influences performance
of app?

Nov 22 '05 #1
4 1136
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

--

"LjP" <Lj*@discussions.microsoft.com> a écrit dans le message de
news:AD**********************************@microsof t.com...
I wonder if using Imports keyword or using full name influences performance of app?

Nov 22 '05 #2
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

"LjP" <Lj*@discussions.microsoft.com> wrote in message
news:AD**********************************@microsof t.com...
I wonder if using Imports keyword or using full name influences performance of app?

Nov 22 '05 #3
LjP
ok
thanks

"Vishnu-Chivukula" wrote:
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

"LjP" <Lj*@discussions.microsoft.com> wrote in message
news:AD**********************************@microsof t.com...
I wonder if using Imports keyword or using full name influences

performance
of app?


Nov 22 '05 #4
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
LjP wrote:
I wonder if using Imports keyword or using full name influences performance
of app?

Nov 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: LjP | last post by:
I wonder if using Imports keyword or using full name influences performance of app?
2
by: Jon Gonzales | last post by:
Item #1: Project Reference > DLLClass1 Project Properties > Imports > Namespace.Namespace2 - In Code Behind: * Dim NewClass1 As New Class1 Item #2: Project Reference > DLLClass1 - In Code...
1
by: Steven K | last post by:
Hello, Is there a way to declare imports so that they don't have to be declared both in Master Page.vb and the Content Page.vb? For example, I have the following in the Master Page.vb Imports...
19
by: Tiraman | last post by:
Hi , I have an assembly that hold few class and few imports which are not used in all of the class's . so my question is when to use the "Imports XXX" And when to use this kind of statement...
3
by: ThunderMusic | last post by:
Hi, I want to know if having to many using (imports in VB) statements at the top of a class or page can hit on the performance of the application or on the memory usage of the application. I...
1
by: Thomas Wittek | last post by:
Hi! Is there any possibility/tool to automatically organize the imports at the beginning of a module? I don't mean automatic imports like autoimp does as I like seeing where my...
5
by: kimiraikkonen | last post by:
Hello, I want to ask about "imports" statement. Some projects must be inserted with "imports xxxx" statements before beginning coding. But how do i know when to use or do i have to use "imports"...
1
by: tjhnson | last post by:
While working within a package...what is the 'best practice' way to do your imports. a/__init__.py a/one.py a/two.py a/b/__init__.py a/b/cat.py a/b/dog.py a/c/cow.py
3
by: Mohamed Yousef | last post by:
Hello , The problem I'm asking about is how can imported modules be aware of other imported modules so they don't have to re-import them (avoiding importing problems and Consicing code and...
0
by: Gabriel Genellina | last post by:
En Sun, 24 Aug 2008 07:34:41 -0300, Mohamed Yousef <harrrrpo@gmail.comescribió: Yes. That way, when you see a name "foo" used in a module, you can look at the imports to see where it comes from....
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.