Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103066 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6029 invoked from network); 8 Aug 2018 19:39:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2018 19:39:35 -0000 Authentication-Results: pb1.pair.com header.from=levim@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.208.177 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.208.177 mail-lj1-f177.google.com Received: from [209.85.208.177] ([209.85.208.177:46198] helo=mail-lj1-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 40/19-18754-5F64B6B5 for ; Wed, 08 Aug 2018 15:39:34 -0400 Received: by mail-lj1-f177.google.com with SMTP id 203-v6so2609977ljj.13 for ; Wed, 08 Aug 2018 12:39:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Sy7YvbJvSw24Heh0zZ/Li17wNFkkaM4U7UjJgBZw8rE=; b=IKkFHVRglRK1aSzHZh5pYCXRt0aPfvtZ4rMAvuFEuTly5xDhhBhNrme1jVKMUMHW9u MmfdZVf7TW3HqqAaSfBYhoP7Gi3ReF0sH56a5i8mtkKqRgRf4looHbkhsyrpoMr9EKtC 2z32a2hClTRz/RdI4cbATsCVioSJ5OBZqppgyV7pbFtg6Jw6JU83huxza8F5wZcrnpHO 7h1rorm8VVw18b9fMfeoetIsVJuMr5ghqJc5Zybj3P+uxTrSNvvZurRvHU9zkY61W134 aZBCASYAPIfiuaA9oooTGUc9gYjyzlrFBxKMZLel58VS86nNWAEh2+HelXNf5yJrMexW xsmQ== X-Gm-Message-State: AOUpUlGfynrqhocIK26iO3coXC6oHZcfrOGo/keouh/UuGSuYGwRmyjC 8FR8cxwfX4xdjkQty5VYlrug94RX0GIFa7GLdH0= X-Google-Smtp-Source: AA+uWPwHj5Cgu3azDVjsYRAd1uSfJYM+kqn73dwHdk6jrMxSofF6nvbkZk/79/fGRWWfSCzzQRme3UTnohzrsojQEkc= X-Received: by 2002:a2e:5687:: with SMTP id k7-v6mr3094403lje.105.1533757170792; Wed, 08 Aug 2018 12:39:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 8 Aug 2018 13:39:13 -0600 Message-ID: To: Sara Golemon Cc: php.net@majkl578.cz, internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Eligibility of array_key_exists() optimization for 7.3 From: levim@php.net (Levi Morrison) On Wed, Aug 8, 2018 at 12:50 PM Sara Golemon wrote: > > On Wed, Aug 8, 2018 at 12:11 PM, Michael Moravec wrote: > > Do you think this optimization could still go into 7.3 so the PHP ecosystem > > could benefit from this improvement (possibly could be reverted in case of > > issues)? > > > My vote is no. > > It's an optimization and optimizations are yay, but feature freeze > isn't just a PR label, it's a release process milestone. The tradeoff > against code-stability just isn't there. > > -Sara > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php I agree with Sara. Sadly, I also have some similar improvements I wanted to get in for improving the performance of `array_slice` but couldn't meet feature freeze. If we were to bring in my changes and yours and who knows who else may have lurking changes like this then the stability risk Sara mentioned is real. It hurts to wait for another release but the bright side is that is a lot of time for the feature to get tested and be far less risky.