|
Posted by Chung Leong on 04/30/07 13:21
On Apr 27, 2:48 am, Iván Sánchez Ortega <ivansanchez-...@rroba-
escomposlinux.-.punto.-.org> wrote:
> Session variables also take some resources.
Session variables--by default at least--are stored in files. They
don't take up memory.
> Also, the PHP interpreter is smart enough to cache the *code* of the
> script - obviously, the heap and stack of every run is destroyed after the
> run is complete. Expect the PHP engine to keep half-parsed code somewhere
> in memory.
Nope, the PHP interpreter is pretty dumb by default. Script files are
always reparsed. You have to pay for the smart, in the form of the
Zend Accelerator (or whatever it's called nowadays).
Navigation:
[Reply to this message]
|