hi,
thanx ernest, infact every line in the code has a comment (maybe a long
comment) directly above it :)
and you are right i may be also able to remove some functions when they are
not needed
thanx
khalid
_
Tired of spam? Get
At 22:56 08.11.2002, Khalid El-Kary said:
[snip]
>hi,
>I wanted to ask about if big include files affect the speed of the script ?
if it's included with include_once, it shouldn'r make a big difference - on
an average linux box loading a 21k file into memory
You should probably look at a caching system, like APC (free) or the
Zend stuff (commercial).
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Come visit us at http://www.phparch.com!
--- Begin Message --
hi,
I wanted to ask about if big include files affect the speed of the script ?
Normally, it should, but i heared that PHP stores the parsed result of
scripts in memory since the first run for next usage, is that true? and if
not, does parsing 21 KB very time, really affects the speed?
thanx
kh
Sent: Wednesday, January 10, 2001 11:17 PM
> > As I am working I am taking more and more of the code out and
> > putting it into functions straight into the include file. This
> > file is included on almost every page and I am worried that it
> > is going to slow the pages down. Will it have a
Thanks - nice looking site.
Abe
- Original Message -
From: "Jason Murray" <[EMAIL PROTECTED]>
To: "'Abe'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 10:17 PM
Subject: RE: [PHP] BIG include file !!!
>
I don't think so, I have bunch of include files, which have more than 5000 lines
and is running very fine.
Abe wrote:
> Hey Guys,
>
> I am developing an application in PHP. I make use of an include file that
> contains regularly used functions. As I am working I am taking more and
> more of th
> As I am working I am taking more and more of the code out and
> putting it into functions straight into the include file. This
> file is included on almost every page and I am worried that it
> is going to slow the pages down. Will it have a large effect
> on the pages speed. It's only abou
Hey Guys,
I am developing an application in PHP. I make use of an include file that
contains regularly used functions. As I am working I am taking more and
more of the code out and putting it into functions straight into the include
file. This file is included on almost every page and I am wor
9 matches
Mail list logo