Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45901 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68258 invoked from network); 29 Oct 2009 17:00:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Oct 2009 17:00:12 -0000 Authentication-Results: pb1.pair.com smtp.mail=samuel.roze@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=samuel.roze@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.213 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: samuel.roze@gmail.com X-Host-Fingerprint: 209.85.218.213 mail-bw0-f213.google.com Received: from [209.85.218.213] ([209.85.218.213:50400] helo=mail-bw0-f213.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/F4-09136-B1AC9EA4 for ; Thu, 29 Oct 2009 12:00:12 -0500 Received: by bwz5 with SMTP id 5so2589404bwz.23 for ; Thu, 29 Oct 2009 10:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=1h33LGTs9vUZFHq3EzMkV2lP6e7CQlg1mtLuCv740eY=; b=T3Trrjt9bz9X793vdwHMlaSQ0HcuvAliIlodv0GLBbvlwK2qe5VC3x0e/fIvbdBZ0n lz/HQG7RTomxQ2s/2IHtvqiqsWGtOlcDRiFakozgDVdWxHXoxGIvSPGSTk6DC943oR2T roUg6I5ydzEbNuQFdvaoe4Ze8GW4asx6/85FM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=sJA7SJpdr+DqCnMo0kT1hojWlAIxX1otHoHMiJ3ArVOkKb0MrOlxcKcjQRGSfgAl68 jJ53J0xRASdN0w0NbDL0PznqNO0rrmgxeFgc0bKJDNRvtLUsqZ1s3rEAvBeFFW/szOmU Jv4OxJReyxffbExw6jv8iTiJvV02enRfEFQcc= Received: by 10.204.155.71 with SMTP id r7mr195117bkw.164.1256835605605; Thu, 29 Oct 2009 10:00:05 -0700 (PDT) Received: from ?192.168.1.3? (91-171-144-165.rev.libertysurf.net [91.171.144.165]) by mx.google.com with ESMTPS id 15sm261293bwz.0.2009.10.29.10.00.04 (version=SSLv3 cipher=RC4-MD5); Thu, 29 Oct 2009 10:00:04 -0700 (PDT) To: Patrick ALLAERT Cc: Alexey Zakhlestin , internals@lists.php.net In-Reply-To: References: <1256808892.22624.32.camel@samuel-laptop> <1256831917.22624.38.camel@samuel-laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 29 Oct 2009 18:00:06 +0100 Message-ID: <1256835606.22624.41.camel@samuel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] PHP modules (pecl) and PHP codes (pear) From: samuel.roze@gmail.com (Samuel ROZE) Le jeudi 29 octobre 2009 à 17:37 +0100, Patrick ALLAERT a écrit : > Yes, but as far as a PHP extension may take hundreds time to develop > than a PHP function. > If the PHP version is fast enough, you will win a huge amount of time, > if not, you will only lose less than 1% of the overall dev time. > The computation is quite easy. You're right... > What is your reqs/second target ? I want that my "parse_referer" function act in 1 ms maximum, that's the problem. ;-)