Ver Mensaje Individual
  #7 (permalink)  
Antiguo 03/09/2009, 20:45
bigwhite
 
Fecha de Ingreso: agosto-2009
Mensajes: 247
Antigüedad: 14 años, 9 meses
Puntos: 10
Respuesta: Como crear un pattern para preg_match()

Cita:
Iniciado por abimaelrc Ver Mensaje
@bigwhite, estoy de acuerdo que muchos han indicado que mientras se pueda evitar el uso de expresiones regulares mucho mejor para que haya mejor rendimiento. Pero no he visto en el manual que diga eso. Si es posible me podrias indicar donde dice eso en el manual.
Por todos lados! ejemplo -> http://www.php.net/split

Cita:
preg_split(), which uses a Perl-compatible regular expression syntax, is often a faster alternative to split(). If you don't require the power of regular expressions, it is faster to use explode(), which doesn't incur the overhead of the regular expression engine.
Claramente dice "If you don't require the power of regular expressions, it is faster to use ...., which doesn't incur the overhead of the regular expression engine"