Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119640 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 12071 invoked from network); 1 Mar 2023 15:49:31 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 1 Mar 2023 15:49:31 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1B619180543 for ; Wed, 1 Mar 2023 07:49:31 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-ua1-f48.google.com (mail-ua1-f48.google.com [209.85.222.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 1 Mar 2023 07:49:30 -0800 (PST) Received: by mail-ua1-f48.google.com with SMTP id f20so4023005uam.3 for ; Wed, 01 Mar 2023 07:49:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677685770; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6quEtYaiyjU5WJPeU5OvJirAOzxO2xeT0RBqq+mPNeo=; b=TxLPtmH4s80yfWyekDlx5q9TGh9VSeVLz0mc2MSbQ1F3RQ05mMuc1r/Fs5P+F9jLul ifxvPPlompP9VVRxTUydw2eBoJQQdv9d+7MSWUEPOyY8+tsuQJp5I9L3BAyP7uGUBWc0 xbwesPaYFsaPJ7bS00HssUzSWOrrtKcarGK+08eIup/1mbBDbqBsFx2fwwoUV5DgPxeH yRk0f1xrrpDUukn4vmv2cGG0+M2euuXoUFChanZGZplwtIJgaj8KTfqDUcaBf7HJRQgq FXz2SVdqyH0qwrkDnlAfr28kNyugtZ9RmVmdLZbRp6uiU5PfposRX+8Ufd950dc6iD7m NC1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677685770; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6quEtYaiyjU5WJPeU5OvJirAOzxO2xeT0RBqq+mPNeo=; b=FjDF57K0nxiSfa6nx16o4g368Z5gD/QzTKH9lou+jgX9iwEc9oaq8uJB1W5vPXDlut nZ3jhTSQZTh4Ll5s0EkaSzSzb+SXeKpNAVI8YTyzubo6H2JP04Wzp/KHCNyjH0+5XFsg dLSDdxwxzsQlQsUj+YZWm7vVWDjVxEBpjZCi1EX04szqqnMBl5X3mnbckh8yBGjBkvTk mJogQE8BCVWL2Jf17MlVMbBtm6GKwDIwJFFuVv4++dQ0JGe3y+pM+qG964EqB1ZP8GkU jQMcQlBKmpLXvifJeYmnKOJOCgi1Uqf6a8+o2PB0feZF8ki6l8BY+ZjDZJ4Kj2cBQI04 hSMg== X-Gm-Message-State: AO0yUKXVs6LwF8JY9OhHEp4ksqn86Ytl4I7FvwPLEhDpTi7D9MMrBLJM QL8Vha1yyOfnWAtqOiuTFTjyoFjpyiVhM1OK3nI= X-Google-Smtp-Source: AK7set+tY7xDFDAeSHxNmOSMuJ5IAhF2gwCulUWsTYIcLFQB5dRBwGYIY8AM9A/dfURM+sMrP2jwhkaW0atPvZv7bzE= X-Received: by 2002:a1f:3f58:0:b0:404:d819:960b with SMTP id m85-20020a1f3f58000000b00404d819960bmr3606509vka.0.1677685769907; Wed, 01 Mar 2023 07:49:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 1 Mar 2023 11:48:54 -0400 Message-ID: To: Max Kellermann Cc: PHP Internals Content-Type: multipart/alternative; boundary="0000000000005c303105f5d8a8c2" Subject: Re: [PHP-DEV] RFC: code optimizations From: deleugyn@gmail.com (Deleu) --0000000000005c303105f5d8a8c2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 1, 2023 at 8:15=E2=80=AFAM Max Kellermann wr= ote: > On 2023/03/01 06:37, Max Kellermann wrote: > > Indeed it appears Dmitry is right - code refactoring is generally NOT > > allowed (unless there is an explicit RFC vote, and I havn't seen one). > > IMO this is a bug in the process, and I'm trying to fix it. It should > be allowed to merge small incremental improvements without a dedicated > RFC. > > This is the first draft of my RFC: > https://wiki.php.net/rfc/code_optimizations > > Let's discuss. > > Max > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > I'm not a voter, but my two cents anyway, as that's the point of internals. Seems like there could be a historical reason this is the way it is. The RFC process involves proposing changes to the PHP language that has an impact on: - Core Developers - Extension Developers - Documentation - Release Managers - Libraries and Frameworks - Users of PHP - Server Admins (potentially) As such, the RFC process exists to provide the possibility of involvement of a larger community. Changes to existing code in the way that is described on this RFC has a direct impact on Core Developers and maybe Extension Developers and nobody else. I'm guessing the RFC process has never been used for it before because it mainly involves the folks developing the language itself and has no direct impact on everyone else. If Core Developers can agree, review and approve each other's code change, no RFC has ever been necessary. The problem now is that there's a dispute between core developers and there doesn't seem to be a way to resolve such dispute. The downside of this RFC is that it opens up the discussion of how to write internal code for PHP to a larger community that has no strong involvement in it with more potential to harm than improvements. All in all, Dmitry, Max and other core developers could try to find common ground, understand each other and see past the issue at hand. The language could always benefit from having more core contributors instead of less, so perhaps there's something that can be done so Max can feel more welcome. In contrast, a decade's worth of internal contributions from Dmitry shouldn't be dismissed and Max could try to better understand where Dmitry is coming from. I think a lot of senior developers can sympathise when new developers full of energy join the team and want to make drastic changes everywhere. It can feel like a golden retriever making a mess. But a fresh perspective and a diverse mindset can often find new solutions and improve the project in the long-term. Krakjoe and The PHP Foundation is trying to reduce the bus factor of PHP and Max is one way of achieving that. In conclusion, I don't think this RFC should move forward but if it does, it would be important for every voter to think whether this has a direct impact on their contribution to PHP or if it should be something left for folks that have skin in the game to decide. One last thing: if Max's change can be beneficial to the project, but are causing other issues such as merge conflicts or breaking stuff, send these stuff to him and ask him to see for himself the consequences of his changes. Maybe he can decide for himself that reverting is the best approach or maybe he can use his energy to fix even deeper issues. --=20 Marco Deleu --0000000000005c303105f5d8a8c2--