[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ossig] gtk applications ?




> true, but sometimes not as fast as a simple == comparison, or a 
> strcmp. perl dudes like to use if($var =~ s/someval/) a lot. this 
> could either be translated to PHP as


Correct, because with the regex functions you load the entire engine 
which compiles the regex expression to dfa's and then executes the 
automaton. If non generic pattern matches are required, then the simpler 
functions would definitely be faster.

Ditesh


---------------------------------------------------------
To unsubscribe: send mail to ossig-request@mncc.com.my
with "unsubscribe ossig" in the body of the message