Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57308 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71841 invoked from network); 9 Jan 2012 17:18:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jan 2012 17:18:46 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:35565] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/B5-46289-6712B0F4 for ; Mon, 09 Jan 2012 12:18:46 -0500 Received: by vcdn13 with SMTP id n13so2943543vcd.29 for ; Mon, 09 Jan 2012 09:18:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=We9qbQSzgYaha2ipI9cm1tRkLD7UgJB4BTxYHVwSMFc=; b=iVfes/SKe2fKuIaEfzyw7bTuIU6sy+1upClvBcp4SUfPZcGIRVePdXL7by5QCVL4C6 5WTPKu/U2ugIZlRY9ojBoP+X74vOkShSKU3lNn8IjTBaGk4wYBznvu0eFZttTLOJDIxE XXSWp63C+vyWi2eY6x8nu3Kb/ay+AktGih/q8= Received: by 10.220.155.142 with SMTP id s14mr9735932vcw.1.1326129523225; Mon, 09 Jan 2012 09:18:43 -0800 (PST) References: <6268389813742875794@unknownmsgid> <6614496271356606712@unknownmsgid> <4F0B2091.7080301@php.net> In-Reply-To: <4F0B2091.7080301@php.net> Mime-Version: 1.0 (1.0) Date: Tue, 10 Jan 2012 01:18:38 +0800 Message-ID: <2146847516644307992@unknownmsgid> To: Rasmus Lerdorf Cc: Stefan Esser , Pierre Joye , PHP internals , =?UTF-8?Q?Johannes_Schl=C3=BCter?= , Laruence Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: 5.3.9, Hash DoS, release From: laruence@gmail.com (Xinchen Hui) Sent from my iPhone =E5=9C=A8 2012-1-10=EF=BC=8C1:14=EF=BC=8CRasmus Lerdorf = =E5=86=99=E9=81=93=EF=BC=9A > On 01/09/2012 08:50 AM, Xinchen Hui wrote: >> Hi: >> I am not sure whether you have understood my point. >> >> If an array have more than 1024 buckets in an same bucket >> list(same index), there must already be an performance issue. > > The problem is you really need to consider the source. There are many > places where people deal with huge datasets. If they assign it directly > they shouldn't hit any limits or we would need some sort of "large > array" hint which would be nasty. Rasmus: Large array ! =3D Large list An array can have million elements withou exceed the limit ion of max length of list. Thanks > > -Rasmus