Re: Proposal for a new extension BBCode Parser

From: Date: Fri, 09 Feb 2007 12:31:07 +0000
Subject: Re: Proposal for a new extension BBCode Parser
References: 1 2 3 4 5  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4492@lists.php.net to get a copy of this message
Hi Xavier, On 2/9/07, Xavier De Cock <xavier@bmco.eu> wrote:
Hi Pierre, Le vendredi 09 février 2007 à 01:42 +0100, Pierre a écrit : Hi Xavier, By the way, you may bench it using bigger data or large loops, the time is really small, hard to get the real gain out of the noise. For the bench I've made a typo using $toparse in place of $to_parse i attach with this mail the corrected times. They are betters and show more linear evolution of time (for the bbcode extension) versus exponential time for preg_replace. (sorry for the "bad" numbers)
It looks much better :)
About your package, if you need help to create a package, let me know. It is required to release it through pecl.php.net. For making the package is there any url where we can find documentation / Howto or other information?
http://pear.php.net/manual/fr/guide-developers.php Or read the other PECL modules for examples. I suggest to use only the version 2.0 of the package definition (and name it "package.xml"). --Pierre

« previous php.pecl.dev (#4492) next »