|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
||||
|
||||
|
Include file efficiency
ok so include file is a very useful and powerful tool that asp has. what i'd like to know is how efficient is it since it to looks through all the pages that are lincluded on a single page even if they are not 'used' via an if statement. is this a memory hog if you have alot of pages that have multiple includes? does this cause any other problems/issues?
|
|
#2
|
|||
|
|||
|
when you include a file it has to be interpretted. if you do not use the file then it is a waste. it will take up memory and use more cpu (to process). there is also some file i/o involved which is generally slow.
__________________
Programmer's Corner |
|
#3
|
||||
|
||||
|
I guess noponts reply is a relative statement when he says "slow." I have worked on apps where single page requires over 25 thousand lines of code to render the page notincluding the time to use ado and such but the page loads faster than some peoples plain vanilla html. These pages used at least 20 include files to make it happen.
So, in my experience the benefits of code re-useage far outway any risks of "slowness."
__________________
mr... mike.rusaw@realpage.com RalPage, Inc. "I have made this letter longer than usual, only because I have not had the time to make it shorter." - Blaise Paschal |
|
#4
|
|||
|
|||
|
Be sure to read these two articles!
http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=55 and http://www.aspfaqs.com/webtech/080199-1.shtml Hope this helps! Sincerely Vlince |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Include file efficiency |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|