Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111745 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 13826 invoked from network); 31 Aug 2020 19:43:30 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 31 Aug 2020 19:43:30 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id ABE7A180553 for ; Mon, 31 Aug 2020 11:47:58 -0700 (PDT) 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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from vie01a-dmta-pe02-1.mx.upcmail.net (vie01a-dmta-pe02-1.mx.upcmail.net [62.179.121.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 31 Aug 2020 11:47:58 -0700 (PDT) Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe02.mx.upcmail.net with esmtp (Exim 4.92) (envelope-from ) id 1kCoqS-0009np-0P for internals@lists.php.net; Mon, 31 Aug 2020 20:47:56 +0200 Received: from mail02.home ([213.47.8.56]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id CopTkzMGTIr7GCopUk2QjN; Mon, 31 Aug 2020 20:46:56 +0200 X-Env-Mailfrom: markus@fischer.name X-Env-Rcptto: internals@lists.php.net X-SourceIP: 213.47.8.56 X-CNFS-Analysis: v=2.3 cv=QN4WuTDL c=1 sm=1 tr=0 a=UsP8JIz990cEySE/ILGzbQ==:117 a=UsP8JIz990cEySE/ILGzbQ==:17 a=IkcTkHD0fZMA:10 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=y4yBn9ojGxQA:10 a=2EALvoLjsrEA:10 a=ZZnuYtJkoWoA:10 a=SRH0f4RvzDgyf9ikHn0A:9 a=QEXdDO2ut3YA:10 Received: from mail02.home ([192.168.1.14] helo=the-matrix-has-you.local) by mail02.home with esmtp (Exim 4.72) (envelope-from ) id 1kCopS-0000wl-LM for internals@lists.php.net; Mon, 31 Aug 2020 20:46:55 +0200 To: internals@lists.php.net References: Message-ID: Date: Mon, 31 Aug 2020 20:46:54 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam_score: -5.0 X-Spam_score_int: -49 X-Spam_bar: ----- X-Spam_report: Spam detection software, running on the system "scanner01.home", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On 31.08.20 20:13, Riikka Kalliomäki wrote: > Another similar problem with creating array copies is the detection of > "indexed" arrays (as opposed to associative arrays). I'm looking forward to an answer from someone proficient in this area because _I think_ the engine _internally_ keeps track of this for performance optimizations, though I don't think it exposes it. [...] Content analysis details: (-5.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -2.1 NICE_REPLY_A Looks like a legit reply (A) X-CMAE-Envelope: MS4wfM3NNuuJPWOJJyfeefrNc/MKExfrf86xb/uaFElYhhrhVJMKMifMwfDdz3ATjBmwUTfg8RE4OmvBjWU1k+hCUC+NCLnY+35x2Q1hc3uNcVAr1qm2nwRy JRt9+TME88Fp7Tto4M+3ThrlvcKruNnlVFZn3ZHlPp4EwUa2+CsIHWeO Subject: Re: [PHP-DEV] Request for couple memory optimized array improvements From: markus@fischer.name (Markus Fischer) On 31.08.20 20:13, Riikka Kalliomäki wrote: > Another similar problem with creating array copies is the detection of > "indexed" arrays (as opposed to associative arrays). I'm looking forward to an answer from someone proficient in this area because _I think_ the engine _internally_ keeps track of this for performance optimizations, though I don't think it exposes it. - Markus