On 29/01/14 19:01, Lester Caine wrote:
Isn't this just a mater of the increased overheads demanded by defining
$str as a 'string object' over just a simple 'string'. It amasses me at
times just how big some of the objects created are simply to handle what
is essentially just a simple array of strings and the like. Just what
overhead is being created and how much faster would things work if we
returned to a less 'object based' structure? The majority of the
processing I'm doing would be much faster if the database simply
returned an array of variables ...
There would be no overhead, no objects would be created.
--
Andrea Faulds
http://ajf.me/