Re: memory usage ouchy

From: Date: Mon, 21 May 2012 18:55:44 +0000
Subject: Re: memory usage ouchy
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-60629@lists.php.net to get a copy of this message
Hi! > How come it's necessary to store the property-names of every property > in every object? For properties that have been defined in classes, why > can't they be stored in a more efficient manner? (using lookup tables) No because you can add and remove properties freely at runtime. > I know the nature of PHP is dynamic, and I know that dynamic > properties would have to be stored in a key/value form internally... > but if you look at modern PHP software, dynamic properties is actually > something very few people use. This is not true. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#60629) next »