Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:86644 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72515 invoked from network); 15 Jun 2015 03:52:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2015 03:52:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.175 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.160.175 mail-yk0-f175.google.com Received: from [209.85.160.175] ([209.85.160.175:33018] helo=mail-yk0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/A0-59275-1EB4E755 for ; Sun, 14 Jun 2015 23:52:02 -0400 Received: by ykfr66 with SMTP id r66so47029577ykf.0 for ; Sun, 14 Jun 2015 20:51:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=aP5aVNw79QFdjLXEiISnnpGeqTHEx/+coLbSRF9Ylsw=; b=vBIe6i04WsAv5XgqkWgEoqLsmjkKuFFX6JCZRbm948YICIcv79lJvMY+/zZLJi1epY VBXG+m0JgvOnBImpzhkQ2GI+DcqIjsBT8GiS9CYlJj2Ush4Awel/dPhv5FUaSlVKPHBh aBIngqV+VmGga/lNEYGUxpJuxguU2CLTNFKVvX8PO1ljyWnjKvNarE0LTAM8vXqIRKxC 1hTo9HRTxNVrQxFRsIra9dZG2VX3dZjt5F96oYNu85tYAEocvcZv8f/ZZen9R45QNQvV NehukIU8JHLgxgwU9kHgIstcRy4eIKQ2IogI90/jjCllJzgCn3J2BCQnsLhW2o5TkBg+ OWPw== X-Received: by 10.13.251.199 with SMTP id l190mr32538133ywf.148.1434340319040; Sun, 14 Jun 2015 20:51:59 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.13.246.2 with HTTP; Sun, 14 Jun 2015 20:51:18 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Jun 2015 12:51:18 +0900 X-Google-Sender-Auth: kaXO3N_J7GETaCQbQ_QhR3N0lDg Message-ID: To: Levi Morrison Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=94eb2c07e992341a8a05188661a9 Subject: Re: [PHP-DEV] Packed array is not fast? From: yohgaki@ohgaki.net (Yasuo Ohgaki) --94eb2c07e992341a8a05188661a9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Levi, On Mon, Jun 15, 2015 at 12:35 PM, Levi Morrison wrote: > How are you testing hash vs packed? As far as what you posted I cannot > tell a difference =E2=80=93 it looks like you are running the same thing = twice > (same binary and same input file). > I've modified START index and verified both packed and unpacked array is used by using gdb. I didn't analyze whole execution, but only zend_hash.c I didn't paste slightly different code because it will not give us much difference and it's useless services like 3v4l. I'm a little disappointed by the result because I was expecting much better result with packed array.. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --94eb2c07e992341a8a05188661a9--