> besides, what makes templates slow are either string-replacements or
> regular expressions and these are anyway "core parts" of PHP, thus
> making a module won't speed up anyting. better contribute to PEAR and
> write this template class in PHP - more transparency for other users.

Unfortunately, I can not agree with you, Daniel.
Before making the module, I've been looking through some PHP libraries
dealing with templates. Next, I made a simplest PHP class which works much
faster than any of the existing libraries
(http://www.e-taller.net/dev/obtemplate/).
I made some tests using Web Stress Tool and can provide you with results.
However, the test was very simple too. Probably, I had to do more complex
testing.

Also, I have tested this module and it showed the fastest result. And I am
sure, when I implement another parsing algorythm and get rid of most
emalloc()'s and efree()'s, it will work even much faster.

Please, correct me if I am wrong...
With best regards
Maxx




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to