Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93590 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8223 invoked from network); 26 May 2016 21:36:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 May 2016 21:36:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.48 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.48 mail-wm0-f48.google.com Received: from [74.125.82.48] ([74.125.82.48:38257] helo=mail-wm0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/E0-17600-A5C67475 for ; Thu, 26 May 2016 17:36:27 -0400 Received: by mail-wm0-f48.google.com with SMTP id n129so115169821wmn.1 for ; Thu, 26 May 2016 14:36:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=jyw5gnwG2naQg6KNwjY/m6IMvkfOYaIZ7pnv82vXBdU=; b=E4SbzXzap7ZkZzjrkO1fLDF22iQql0TsWexYvcQogJAE5pPDcBRSUI9XX+BEsxV263 kDKzSc4AzpNfNNo9P4wor4mrQYmus4xBMsEt2+mUWa3iqRFmVL27rbEh/5Zh24vA/5yd RY//oSQzAdwBPXgclVPtUQB0FQnlGocB2ndCOMy1IEuFnawXvWH4Es2820MjvoCGYEoq +zesYlq/fm+1qqjLpnpAA45MVUfJn/Nm9Bp/+30PF8tPcFjo90Yfl2NQnKU/2S5lm+9v 3x+hrVTUpz9sScIuFHYKNbhZlv7ydPN72FDtk9GAvgPoM59xzwjWuTjfuIBcwbgo90xH 4D0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=jyw5gnwG2naQg6KNwjY/m6IMvkfOYaIZ7pnv82vXBdU=; b=IDHw3KeuuDxqvuDEdhzDHebAFk8rgt0TaqUk/bWHNoJoRsQTiLWhoh5K2PzP5jGIP0 ohFqvxry7ipEAxSGhZ69s+vR3RBplzn5ZDjHSvJVMTE444ITkB4a5aa3okdMPcyStdw6 0k8oJ3257TziEBsjBCxOMPaybKb31EkgemxDzxCuXLu3F3m1mYvhrHd0Ib3ihPJ921gk Zk4F5WhdHs6qpRuKd/3ah6RqZ7yp713s8b4Z7g5ceGvOFlx663UlOKw5RRpvwE5ouZnn hV2pyRvBlgFsSRfjc1GJ1hsiR9lU2lnvoSTN/k3Clt6Y/aP9ktfmFeP7vKAg03ZWUjGn J9zg== X-Gm-Message-State: ALyK8tISzE6PbnKXG5RzrGN1P9bhMiHfKJHt03hw/mzZBBc5ewoaq2vYXV6jOpA/1Svgxw== X-Received: by 10.28.44.87 with SMTP id s84mr5479935wms.61.1464298583915; Thu, 26 May 2016 14:36:23 -0700 (PDT) Received: from [192.168.1.5] ([2.25.96.65]) by smtp.googlemail.com with ESMTPSA id y76sm5403859wmd.3.2016.05.26.14.36.22 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 May 2016 14:36:23 -0700 (PDT) To: internals@lists.php.net References: <20160525215208.034FC1A801B3@dd1730.kasserver.com> <5fd54aa0-4fdf-c1e7-eae8-765aa89c8498@fleshgrinder.com> <08963b03-8394-6d62-4e5b-393f3fcb5647@fleshgrinder.com> <9e9db70d-d72d-d93e-0c81-18c2aa228618@gmail.com> <409002d8-b5e3-5990-7358-246adc7e3cab@fleshgrinder.com> <57474A08.80807@lsces.co.uk> <6f7403b6-bf22-a12b-dfb2-43fe82983e7d@fleshgrinder.com> <57474F9C.6080104@lsces.co.uk> <1733cfce-001b-1079-e929-88f7dde0f2dd@gmail.com> <57475F27.3090306@lsces.co.uk> <50f5d1c9-d24f-1afe-4c34-70aafd981524@fleshgrinder.com> <5747697A.7000906@lsces.co.uk> Message-ID: <37377d3b-827a-4cfd-580b-e33862084ab6@gmail.com> Date: Thu, 26 May 2016 22:36:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <5747697A.7000906@lsces.co.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC][Vote] Typed Properties From: rowan.collins@gmail.com (Rowan Collins) On 26/05/2016 22:24, Lester Caine wrote: > So every time I update the current tree because the client has selected > a different initial root I have to destroy perhaps 30 person objects and > rebuild the whole lot again from scratch? In a word, yes: if you have a different set of data, use a different set of objects to hold it. Objects are not memory slots to be re-filled, they represent a specific instance of a thing. Creating and destroying 30 objects on a modern system is the work of nanoseconds, and not something to be avoided at all costs. Regards, -- Rowan Collins [IMSoP]