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

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

ThunderMusic
Mon Sep 25 15:05:09 CDT 2006

oops, should be "using directives" not "using statements" (looks like they
are different things)

thanks

ThunderMusic

"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
>



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

Carl
Mon Sep 25 15:49:41 CDT 2006

"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



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

ThunderMusic
Mon Sep 25 15:59:55 CDT 2006

thanks a lot

"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
>
>