php4-beta | 200004
Date: 04/19/00
- Next message: Andrei Zmievski: "Re: [PHP4BETA] cvs: /php4/ext/standard basic_functions.c"
- Previous message: thies <email protected>: "[PHP4BETA] can we please ignore SIGPIPE in CGI-Mode?"
- In reply to: Andi Gutmans: "[PHP4BETA] ereg() vs. preg_match()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 18 Apr 2000, Andi Gutmans wrote:
> Hey,
>
> Any idea how these two compare performance wise? Which is faster and is it
> significant?
I tested the ereg vs. preg functions a while back when I was writing the
extension, and preg functions seemed to be much faster. Of course, they
are also more powerful and allow you to do way more stuff than ereg - so
benchmarking them against each other would need to involve only simple
cases.
Try it yourself in non-debug mode.
-Andrei
"C combines all the power of assembly language with
all the ease of use of assembly language" -- trad
-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: Andrei Zmievski: "Re: [PHP4BETA] cvs: /php4/ext/standard basic_functions.c"
- Previous message: thies <email protected>: "[PHP4BETA] can we please ignore SIGPIPE in CGI-Mode?"
- In reply to: Andi Gutmans: "[PHP4BETA] ereg() vs. preg_match()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

