Re: Question about performance
| From: | clayton collie | Date: | Fri, 21 Jul 2000 05:33:26 +0000 |
| Subject: | Re: Question about performance | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1205@lists.php.net to get a copy of this message | ||
John,
id say if youre worried about performance, then stick everything in a
single include, since disk accesses ( including files) is much more
expensive performance-wise than the extra memory overhead.
"Asendorf, John" <JAsendorf@lcounty.com> wrote in message
news:620001CE6A56D41189F300B0D022037418C1@exchange.lcounty.com...
> Hello All!
>
> I'm currently doing some writing and I'm wondering about a potential
> performance issue. My question is about assigning some array variables.
>
> I have a script that works as a navigation sidebar. When you are at a
> certain area, say for instance Health Department, an additional set of
links
> is parsed from an array of links for the Health Department. My question
is,
> when I get a number of areas (say upwards of 20 or 30) should I assign ALL
> of the arrays in one include file that EVERY page then uses OR should I
have
> separate includes for each area that defines the links array only for that
> area?
>
> You can see it kind of in action at www.lcounty.com
>
> Thanks,
>
> John
>
> ---------------------
> John Asendorf - jasendorf@lcounty.com
> Web Applications Developer
> Licking County, Ohio, USA
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>