Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45900 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67089 invoked from network); 29 Oct 2009 16:58:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Oct 2009 16:58:58 -0000 Authentication-Results: pb1.pair.com header.from=samuel.roze@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=samuel.roze@gmail.com; spf=pass; sender-id=pass 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:47757] helo=mail-bw0-f213.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/B4-09136-1D9C9EA4 for ; Thu, 29 Oct 2009 11:58:58 -0500 Received: by bwz5 with SMTP id 5so2588049bwz.23 for ; Thu, 29 Oct 2009 09:58:55 -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:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=NFadJYqfX1JoDz+jnr+eYEaqgKuHuRwTMyP0MTs3nl8=; b=F0axuCThg57iALwx1ur0RaHMyrF59Q44G7CLCrbbw9DGwTiYigjWs2eNoZ4bjsWBz1 N9qlnOVZmUuTW2zovytUQYw0e9AgZUqP8ImGYWnvrVzjuauOx6OpVXucaiG5mPmtVrDx VwD6ZGbRt2GFjStIY1ImpCSp4AZvbTBRs0d5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=wq/ITstCugS0iF7MpjTrRdDEUSHabtVYyn7TWAMF39TsM0QyohxWBCQMIo8diuWgf4 ztu0jCA10g7Jk9LKhW/sF6RBx/x+PegjJZmHhgQHH6wmiONJjhfAM6f6S1Pf2yuvYOdZ o3uCgD8/p8FeIN6d2QXn6K2ePw+tRysPPmiNY= Received: by 10.204.143.151 with SMTP id v23mr192819bku.169.1256835534957; Thu, 29 Oct 2009 09:58:54 -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 14sm258673bwz.1.2009.10.29.09.58.53 (version=SSLv3 cipher=RC4-MD5); Thu, 29 Oct 2009 09:58:53 -0700 (PDT) To: PHP Internals 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 17:58:55 +0100 Message-ID: <1256835535.22624.40.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:35 +0100, Patrick ALLAERT a écrit : > 2009/10/29 Samuel ROZE : > > Le jeudi 29 octobre 2009 à 14:03 +0300, Alexey Zakhlestin a écrit : > >> Usually, it is a good idea to write it in PHP at first and then port > >> to C, if performance is poor > > > > But I lose some time ! > > 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. > > What is your reqs/second target ? >