[TYPO3-core] RFC: T3-speedup preg insted of ereg

Michael Stucki michael at typo3.org
Wed Oct 26 22:15:18 CEST 2005

Hi Julle,

> On Wednesday 26 October 2005 23:52, Bernhard Kraft wrote:
> > preg's are faster than ereg's (Don't ask why :) test it).
> PCRE requires external libraries, POSIX doesn't. I'm pretty sure that is
> why POSIX is preferred in the core.

Please notice that PCRE functions are already used in the core:

mstucki at nb02:~/src/cvs/typo3_head$ grep -ri preg_ TYPO3core/ | wc -l

If someone does not have PCRE enabled yet, he cannot run TYPO3 anyways!

> Besides that, you are right: PCRE performs much faster.

Perfect! :-)

Regards, michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051026/77af51aa/attachment.pgp 

More information about the TYPO3-team-core mailing list