473,322 Members | 1,287 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,322 software developers and data experts.

too many using (imports in vb)... does it hit on performance or memory usage?

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 use ASP.NET framework v2.0... When creating a web page there are about
10-15 using statements at the top, should I leave them there or remove all
those the page doesn't use?

Thanks

ThunderMusic
Sep 25 '06 #1
3 1707
oops, should be "using directives" not "using statements" (looks like they
are different things)

thanks

ThunderMusic

"ThunderMusic" <No*************************@NoSpAm.comwrote in message
news:eO**************@TK2MSFTNGP06.phx.gbl...
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 use ASP.NET framework v2.0... When creating a web page there are about
10-15 using statements at the top, should I leave them there or remove all
those the page doesn't use?

Thanks

ThunderMusic

Sep 25 '06 #2
"ThunderMusic" <No*************************@NoSpAm.comwrote in message
news:eB**************@TK2MSFTNGP05.phx.gbl...
oops, should be "using directives" not "using statements" (looks like they
are different things)
They have no bearing whatsoever on performance or memory usage - they simply
help out the compiler and have no manifestation in the finished assembly at
all.

-cd
Sep 25 '06 #3
thanks a lot

"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote in message news:uO**************@TK2MSFTNGP03.phx.gbl...
"ThunderMusic" <No*************************@NoSpAm.comwrote in message
news:eB**************@TK2MSFTNGP05.phx.gbl...
>oops, should be "using directives" not "using statements" (looks like
they are different things)

They have no bearing whatsoever on performance or memory usage - they
simply help out the compiler and have no manifestation in the finished
assembly at all.

-cd


Sep 25 '06 #4

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

Similar topics

8
by: Sridhar R | last post by:
Hi, I am a little experienced python programmer (2 months). I am somewhat experienced in C/C++. I am planning (now in design stage) to write an IDE in python. The IDE will not be a simple...
5
by: reddy | last post by:
I am trying to insert a node into an XMLFile. using XMLTextwriter. My Question is Is it possible to do without using XMLDocument. Because its loading all the the file into memory. I just want to...
4
by: steve | last post by:
I create a circle image form, drag and drop this image on the screen, if I drag this circle fast to the right, the left part of the image is cut, looks to me the performance is not good as I...
8
by: GeekBoy | last post by:
I understand the benefit of pushing the StateServer process onto another computer to "balance" the load and take some cpu and memory usage off the web server, but how much could it possibly help?...
21
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have...
9
by: George McCullen | last post by:
I have an Outlook 2003 using Exchange Server 2003 Public Contacts Folder containing 20,000 Contacts. I am writing a VB .Net 2003 program that loops through all the contacts in a "for each oCt in...
19
by: Tom Jastrzebski | last post by:
Hello, I was just testing VB.Net on Framework.Net 2.0 performance when I run into the this problem. This trivial code attached below executed hundreds, if not thousand times faster in VB 6.0...
5
by: IsRaEl | last post by:
Hello, I was wondering. Is there any way to make Console app use less memory?? i just did a simple Console app that download some FTP files and use 9 mb!!!!!!! I think it should use at...
0
by: David | last post by:
- Are there any peculiarities with using curs.executemany(...) vs. multiple How many times are you calling execute vs a single executemany? The python call overhead will add up for thousands of...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.