|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
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 oops, should be "using directives" not "using statements" (looks like they
are different things) thanks ThunderMusic Show quote "ThunderMusic" <NoSpAmdanlatathotmaildotcom@NoSpAm.com> wrote in message news:eOgekuN4GHA.2424@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 > "ThunderMusic" <NoSpAmdanlatathotmaildotcom@NoSpAm.com> wrote in message They have no bearing whatsoever on performance or memory usage - they simply news:eBD$Z4N4GHA.4392@TK2MSFTNGP05.phx.gbl... > oops, should be "using directives" not "using statements" (looks like they > are different things) help out the compiler and have no manifestation in the finished assembly at all. -cd thanks a lot
Show quote "Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@mvps.org.nospam> wrote in message news:uOtpgQO4GHA.1288@TK2MSFTNGP03.phx.gbl... > "ThunderMusic" <NoSpAmdanlatathotmaildotcom@NoSpAm.com> wrote in message > news:eBD$Z4N4GHA.4392@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 > > |
|||||||||||||||||||||||