Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84530 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97750 invoked from network); 11 Mar 2015 09:15:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Mar 2015 09:15:05 -0000 Received: from [127.0.0.1] ([127.0.0.1:7226]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 79/E0-26266-99700055 for ; Wed, 11 Mar 2015 04:15:05 -0500 Authentication-Results: pb1.pair.com smtp.mail=me@ludovicurbain.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=me@ludovicurbain.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ludovicurbain.com designates 178.33.47.94 as permitted sender) X-PHP-List-Original-Sender: me@ludovicurbain.com X-Host-Fingerprint: 178.33.47.94 20.mo3.mail-out.ovh.net Received: from [178.33.47.94] ([178.33.47.94:57845] helo=20.mo3.mail-out.ovh.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9B/30-26266-A7400055 for ; Wed, 11 Mar 2015 04:01:47 -0500 Received: from mail638.ha.ovh.net (gw6.ovh.net [213.251.189.206]) by mo3.mail-out.ovh.net (Postfix) with SMTP id 4ED57FFA9CA for ; Wed, 11 Mar 2015 10:01:43 +0100 (CET) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 11 Mar 2015 11:01:43 +0200 Received: from mail-qc0-f175.google.com (me@ludovicurbain.com@209.85.216.175) by ns0.ovh.net with SMTP; 11 Mar 2015 11:01:41 +0200 Received: by qcwr17 with SMTP id r17so8574515qcw.2 for ; Wed, 11 Mar 2015 02:01:40 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.140.238.73 with SMTP id j70mr47862552qhc.37.1426064500413; Wed, 11 Mar 2015 02:01:40 -0700 (PDT) Received: by 10.140.20.196 with HTTP; Wed, 11 Mar 2015 02:01:40 -0700 (PDT) Date: Wed, 11 Mar 2015 10:01:40 +0100 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=001a1135bbcaf9671d0510ff8386 X-Ovh-Tracer-Id: 321162949586949835 X-Ovh-Remote: 209.85.216.175 (mail-qc0-f175.google.com) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 0 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejledriedvucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejledriedvucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu Subject: Lists: a simple way to improve PHP performance From: me@ludovicurbain.com (Ludovic Urbain) --001a1135bbcaf9671d0510ff8386 Content-Type: text/plain; charset=UTF-8 Hello, 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 would have done the trick without any slowdown. So why don't we add a basic list type to PHP ? There's nothing to lose, everything to gain, and it will have a fast creation time, unlike the "php simple array" because it will just be a list. I can take care of the programming and testing by myself if necessary. Thanks for your time, Ludovic -- Ludovic Urbain www.kanpeki.be --001a1135bbcaf9671d0510ff8386--