Posted by gosha bine on 06/02/07 22:46
webcm123@gmail.com wrote:
> How is it with RAM usage by classes and objects?
>
> I found out that PHP4 uses more RAM than needed (read: make too more
> copies of data) - perhaps while calling functions or creating class.
>
> How is it in PHP5?
>
> Are all functions of class copied in the RAM for every created object?
>
If you care about RAM usage, I'd suggest you program in C or another
language that allows you to manage resources effectively. Or, just get
more RAM, it's cheap. ;)
--
gosha bine
extended php parser ~ http://code.google.com/p/pihipi
blok ~ http://www.tagarga.com/blok
[Back to original message]
|