Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101071 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61453 invoked from network); 6 Nov 2017 11:16:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Nov 2017 11:16:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=lists@rhsoft.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lists@rhsoft.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain rhsoft.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: lists@rhsoft.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Received: from [91.118.73.15] ([91.118.73.15:41055] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/DA-09857-F94400A5 for ; Mon, 06 Nov 2017 06:16:49 -0500 Received: from rh.thelounge.net (Authenticated sender: h.reindl@thelounge.net) by mail.thelounge.net (THELOUNGE MTA) with ESMTPSA id 3yVql00Q5MzXMT for ; Mon, 6 Nov 2017 12:16:44 +0100 (CET) To: internals@lists.php.net References: <64.21.07742.EF158F95@pb1.pair.com> <71.50.09857.3BBEAF95@pb1.pair.com> <6643d10b-8703-693c-15c2-da338022ef41@rhsoft.net> <18.19.09857.3E54CF95@pb1.pair.com> <941fd347-4a17-78b6-1bd7-4a5519aa722b@rhsoft.net> <67.8E.09857.7D58DF95@pb1.pair.com> <6A.75.09857.9F6EEF95@pb1.pair.com> <55fb932f-7f61-33eb-1fd9-aa425bc6ff27@rhsoft.net> Message-ID: <748869f7-13bb-5bdd-6fec-399a33b790b3@rhsoft.net> Date: Mon, 6 Nov 2017 12:16:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-CH Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Re: RFC - Array Of for PHP 7 From: lists@rhsoft.net ("lists@rhsoft.net") Am 06.11.2017 um 12:09 schrieb Tony Marston: > wrote in message news:55fb932f-7f61-33eb-1fd9-aa425bc6ff27@rhsoft.net... >> Am 05.11.2017 um 11:24 schrieb Tony Marston: >>> wrote in message news:d70cc49d-c397-3f09-d08d-b79b31014271@rhsoft.net... >>>> it depends on the implementation and just beause you say so does not >>>> prove anything and even if you need to measure, optimize and make >>>> decisions based on technical facts - what you do is "mimimi i say" >>> >>> I have worked on software which provided lots of different options, >>> which means that you have to keep testing if an option is being used >>> or not. This is an overhead whether you like it or not. >> >> maybe your implementation was bad > > Everybody knows that carrying around code which is either rarely used or > not used at all is an overhead everybody knows that claims without measure the impact are worthless it can even happen that due the implementation other code paths which would not have been touched otherwise may get optimized due refactoring and the end result can be even faster in general >>>>>> or why did 5.3, 5.4, 5.5 and 5.6 not speaking about 7.0/7.1 *all* >>>>>> have new features and where *faster* then the previous version - >>>>>> frankly you are raising alarm for no reason >>> >>> Can you prove that each new version was faster? Where is your evidence? >> >> everbody knows that and can benchmark it at any time, but if it makes >> you happy that others are doing your homework >> >> https://www.phpclasses.org/blog/post/493-php-performance-evolution.html interesting that you ignore that now completly >> how does that change the fact that your claim "such as it being 64bit >> instead of 32bit" is nonsense when most of the benchamrks and >> production servers out there are running PHP on x86_64 with 86_64 >> builds for a decade now? > > 64bit builds of PHP 5 for Windows were all marked as experimental, > therefore not  guaranteed to be as reliable as the 32bit versions. The > "experimental" tag was only removed for PHP 7. yes, but the majority of production servers is running on Linux, especially in times where they are mostly virtualized >>> Just think how much faster and easier to maintain it would be if all >>> this save-a-few-keystrokes dross had not been added in the first place. >> >> again: unproven claim, but in your own world a hashtable probably is >> also not O(1) or you are just not capable to optimize software at all >> but then stop claim others aren't too > > Everybody knows that carrying around code which is either rarely used or > not used at all is an overhead. That's what the 80-20 rule demonstrates everybody knows that claims without measure the impact are worthless it can even happen that due the implementation other code paths which would not have been touched otherwise may get optimized due refactoring and the end result can be even faster in general