Re: Contribution for PECL

From: Date: Sat, 28 Dec 2002 02:16:25 +0000
Subject: Re: Contribution for PECL
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-11857@lists.php.net to get a copy of this message
On Fri, 27 Dec 2002 20:50:15 -0500 Sterling Hughes <sterling@bumblebury.com> wrote: > > > Looks perfectly OK, the only issue was what to call it, as I can see it > > > being prefectly expected that somebody else is going > > > to do another template engine in C... so a less generic name than > > > template is probably a good idea.... > > > > It's rather difficult for me to think of a new name, since it always was > > php_templates for me. Anyway, I'm ready to accept some of your variants. > > > > > I only downloaded the docs, but just wondered if you used flex/bison > > > (which technically I would expect to be the fastest way to do this..) .. > > > > No, the extension is 100% independent. It uses "Tuned Boyer-Moore" search to > > find text patterns in a template. > > > > why? chances are pretty likely that any system that is compiling your extension > would have flex and bison (which are required to compile php). flex and bison > also on the whole generate much faster code (well, flex is slightly slower, bison > is much faster.) > > Also, have you seen Smarty? http://smarty.php.net/ > I know smarty, and its fully PHP which makes it "slow", a C module of course can do things way faster than PHP will ever be... PS: slow in comparison to C > -Sterling > > > > > > > -- > > PEAR Development Mailing List (http://pear.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Mirco Bauer aka MEEBEY -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d s-: a--- C++ UL++>++++ P L++$>+++$ E W+++$ N o? K- w++>! O- M- V? PS PE+ Y- PGP>++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r>++ y? ------END GEEK CODE BLOCK------

« previous php.pear.dev (#11857) next »