Question about performance
| From: | Asendorf, John | Date: | Thu, 20 Jul 2000 14:39:34 +0000 |
| Subject: | Question about performance | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-1191@lists.php.net to get a copy of this message | ||
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