Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106350 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 8234 invoked from network); 30 Jul 2019 19:19:33 -0000 Received: from unknown (HELO mail-pf1-f170.google.com) (209.85.210.170) by pb1.pair.com with SMTP; 30 Jul 2019 19:19:33 -0000 Received: by mail-pf1-f170.google.com with SMTP id t16so30102959pfe.11 for ; Tue, 30 Jul 2019 09:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=fWNB1kxv2ngKy+cpdLmWzrkEuFrUvS68+9C797L6HGY=; b=rIrmb8M81KxThN953BPQsJiHbtJNg+RtnqkxQf8Cb5TZJieGYdaCFVTf2ETpkVn+IH 7oaG1WF9bU9WBzXAFqmajNpr7CYi70wYlnV64Sq5DhcsttSvIKtAdt0NhYP63dDs1qYJ PGrJm6diKd9Mesu0FX6YfTsG3mDRWOpAl5EV39uNlKGBhkxftG4A42XEMhT1Z4FoPM63 REuNYE6ZQXfgrlEJRhuOoe/cQt8Ai+tJ+gggw9Ht9kIfhOYooyfNA5hlp45aGSVaGpnO dPUeWbPxVDnvlvPVoQcYGAUxBWjkG7IQOSWRmFBignwmoOMa0tSUp9ewvdPMwmZ3rvIp 9a5w== 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; bh=fWNB1kxv2ngKy+cpdLmWzrkEuFrUvS68+9C797L6HGY=; b=E7WaRAhdUex1F3gO1/BwHyH9tHgyTkxQB6hBzQlWghkDcRtFTPqhntiCsXA91svlUr tm1zqGLKOgKQElfZuaYuTgXvlStmT5QZ3N0XusPTIVvzUYc7zaeqlEY+XcefypXlLxgN PB+8+bhOz836P3yYxhmZtCgXDkR4msi2HZCM0lWNAa3CiRG9d/8g6xDpJDk9i/jK+lfq 8lmuUB0IKnLi1szrq4ZiVIugVYVnUm/UNivjYx2WXWBe8Eqehr51WV2/Q8DPC8x6wqLk YyCFktCruUrFOFPk3eNf2V+gnupPFh91AQpQ6TG5z2qPEtBQD7UXmjepxoB7iOJCBWc5 YUeg== X-Gm-Message-State: APjAAAXb46IreH4RTHzvXN+hT+CEsmyDTlpaHKitWoI8wDo04cU10yES sS9O6IIzqwL6NVgnXVU/8rlIRa4WXQbTBFK+dQ+7YQ== X-Google-Smtp-Source: APXvYqzFw3zJtlMTszN5bPra5NpO1uWKHKj5MuKY5D88eXGqi83cIXfEkedMu6yfBOrJTfDCcnzmY6Ice1vscj2e8r8= X-Received: by 2002:a65:52c5:: with SMTP id z5mr95780932pgp.118.1564505068803; Tue, 30 Jul 2019 09:44:28 -0700 (PDT) MIME-Version: 1.0 References: <9ADC8994-9D3C-4810-A2DB-6FB81D513098@gmail.com> <5d40700f.1c69fb81.5e067.c472SMTPIN_ADDED_MISSING@mx.google.com> In-Reply-To: <5d40700f.1c69fb81.5e067.c472SMTPIN_ADDED_MISSING@mx.google.com> Date: Tue, 30 Jul 2019 17:44:17 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000e01aa7058ee8b8d8" Subject: Re: [PHP-DEV] Re: [RFC] Namespace-scoped declares, again From: rowan.collins@gmail.com (Rowan Collins) --000000000000e01aa7058ee8b8d8 Content-Type: text/plain; charset="UTF-8" On Tue, 30 Jul 2019 at 17:27, Mark Randall wrote: > At the point we're talking about composer integrating callbacks, > preloading lists etc, isn't it about time that an spl_autoload_list was > added that accepted the standard composer classmap [class_id => path] > and forewent most autoload callbacks entirely? > To be honest, at this point autoloading is barely necessary: just ensure OpCache is configured correctly and preload all the files. When I tested an exhaustive class map with OpCache disabled, it was actually slightly slower than a "non-optimized" autoloader, presumably because the array definition itself takes so long to compile. Regards, -- Rowan Collins [IMSoP] --000000000000e01aa7058ee8b8d8--