Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84531 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99671 invoked from network); 11 Mar 2015 09:24:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Mar 2015 09:24:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=unreal4u@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=unreal4u@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.177 as permitted sender) X-PHP-List-Original-Sender: unreal4u@gmail.com X-Host-Fingerprint: 74.125.82.177 mail-we0-f177.google.com Received: from [74.125.82.177] ([74.125.82.177:44672] helo=mail-we0-f177.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/41-26266-FB900055 for ; Wed, 11 Mar 2015 04:24:16 -0500 Received: by wesp10 with SMTP id p10so7659976wes.11 for ; Wed, 11 Mar 2015 02:24:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:content-transfer-encoding:content-disposition; bh=huOfrhUHcfewR1aGog4PNFlsNAtAunwlFCWogUSY964=; b=PSB+r/2IfVM55Gi6hwdhM+pdEqwVwPvCGi/eFbihqkN5dskUThXUyFeiQ+GLXFSWKK gfoHz8JcKm075LHIfQMRw/4xeOgc3eKYGtPchbEpqpnlE42hdC5bCC9e0zbNkqN1/F/s Tnb+b4CVD8Tvxm9rfMSEVvI9T3WTFN8WTXB3vhmz6BEoLLEWvi0QrZj+18FgTPOH0Dlb jGxtQkzDynMfxS8oFGiVZl91/AW8oAS9UGP3idakuX+5rpzKRmHOBE/nsZ/mlHPqT+po /xsWdj9dnAYArPi2DepD09OsgzJvN0JBcrDZo6obf7ggDPY3TkKrrSpR1/gRDMOc/PRB ko+w== X-Received: by 10.194.200.8 with SMTP id jo8mr46468420wjc.64.1426065852127; Wed, 11 Mar 2015 02:24:12 -0700 (PDT) Received: from camilo.lan (133-158-ftth.on.nl. [88.159.158.133]) by mx.google.com with ESMTPSA id jy7sm7653222wid.22.2015.03.11.02.24.11 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Mar 2015 02:24:11 -0700 (PDT) Date: Wed, 11 Mar 2015 10:24:10 +0100 To: Ludovic Urbain , internals@lists.php.net Message-ID: In-Reply-To: References: X-Mailer: Airmail (286) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: [PHP-DEV] Lists: a simple way to improve PHP performance From: unreal4u@gmail.com (Camilo Sperberg) Isn=E2=80=99t this already implemented in the SPL library=3F http://php.net/manual/en/spl.datastructures.php -- =20 Met vriendelijke groet, Camilo Sperberg Sent with Airmail On 11 Mar 2015 at 10:15:11, Ludovic Urbain (me=40ludovicurbain.com) wrote= : > Hello, > =20 > =20 > I've been working with PHP for a while and it's always sad to see array= ()'s > performance being so terrible, in so many cases where a simple list wou= ld > have done the trick without any slowdown. > =20 > So why don't we add a basic list type to PHP =3F There's nothing to los= e, > everything to gain, and it will have a fast creation time, unlike the =22= php > simple array=22 because it will just be a list. > =20 > I can take care of the programming and testing by myself if necessary. > =20 > =20 > Thanks for your time, > =20 > =20 > =20 > Ludovic > =20 > -- > Ludovic Urbain > www.kanpeki.be > =20