Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71756 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91472 invoked from network); 29 Jan 2014 21:19:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jan 2014 21:19:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.240 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.240 imap2-1.ox.registrar-servers.com Received: from [198.187.29.240] ([198.187.29.240:50257] helo=imap2-1.ox.registrar-servers.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/F6-52228-B7079E25 for ; Wed, 29 Jan 2014 16:19:55 -0500 Received: from [192.168.0.200] (unknown [176.25.177.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id AA9C85A008A; Wed, 29 Jan 2014 16:19:51 -0500 (EST) Message-ID: <52E97075.7070607@ajf.me> Date: Wed, 29 Jan 2014 21:19:49 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Lester Caine , internals@lists.php.net References: <4ED7146272E04A47B986ED49E771E347BBC71EE3A9@Ikarus.ameusgmbh.intern> <52E9469D.6000302@sugarcrm.com> <52E95019.5050505@lsces.co.uk> In-Reply-To: <52E95019.5050505@lsces.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [PHP6] Function name consistency From: ajf@ajf.me (Andrea Faulds) 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/