Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59337 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39745 invoked from network); 3 Apr 2012 01:57:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Apr 2012 01:57:00 -0000 Authentication-Results: pb1.pair.com header.from=klaussilveira@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=klaussilveira@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: klaussilveira@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-lpp01m010-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:38295] helo=mail-lpp01m010-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E9/20-43049-AE85A7F4 for ; Mon, 02 Apr 2012 21:56:59 -0400 Received: by lahl5 with SMTP id l5so4115102lah.29 for ; Mon, 02 Apr 2012 18:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=anmSEeRT/4/fllHE+zzu7GX7fd6wExvLEZHXSOT0LH0=; b=BTx8l+iAoKhpbADejjYURg+lvswXC+SLTamARL6UUjyfEpxlAFGg+o3QXHYKgbY1cI DBFP6uwE8f6RMBckIhAXLK3LKOAJFDMLAGj8Q6fYFKc3hy30bPPYpzZfaStv0flVFHJM 5SAXDZqI/BMfQAOdWtnAPkBwaejGokED80VVCrpIsOkvbL5Q98uj3saBmt8IS4UaNe0c /v0Unv0hdafXzXKJ/WpdRg2p36Q31MlFJzwHF8Pdr27GUCVgpzNcSTSRVVLzTkLMMapB QlvwbAr9hEqkJeO+BXj6ovNCyaz2WHa7fbHujL6cbSl5vygoy0hMouDYMBvuTB27eDwl p9pg== MIME-Version: 1.0 Received: by 10.152.112.132 with SMTP id iq4mr11912664lab.28.1333418214456; Mon, 02 Apr 2012 18:56:54 -0700 (PDT) Sender: klaussilveira@gmail.com Received: by 10.112.99.225 with HTTP; Mon, 2 Apr 2012 18:56:54 -0700 (PDT) Date: Mon, 2 Apr 2012 22:56:54 -0300 X-Google-Sender-Auth: kmCVxqlfoe8euUyoA7HSs2bFFjM Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d0408d673027b9d04bcbc9fee Subject: Small performance improvement on main/rfc1867.c From: klaussilveira@php.net (Klaus Silveira) --f46d0408d673027b9d04bcbc9fee Content-Type: text/plain; charset=ISO-8859-1 Just submitted a small patch here: https://github.com/php/php-src/pull/34 I had sent this before to group@php.net, before the GIT migration. Small fix really. The current code is correct, but if it is used inside a long loop or long strings, it's inefficient. --f46d0408d673027b9d04bcbc9fee--