RE: [PHP] Include load question (newbie)
| From: | David Freeman | Date: | Tue, 28 May 2002 01:02:51 +0000 |
| Subject: | RE: [PHP] Include load question (newbie) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99417@lists.php.net to get a copy of this message | ||
> I have two files (f1.php,f2.php) that each take about 90%
> and 90% of differient functions from the first
> file(func.php), would my files (f1.php,f2.php) load faster
> if I defined the functions in each file instead of including
> it or is this helping?
It might, but the difference isn't likely to be significant. If speed
is a problem then you need to figure out where your bottle neck is -
unless they are huge files the problem is unlikely to be in loading of
individual file themselves.
CYA, Dave