Rate regexp index regexp 826/s -- -10% index 921/s 11% --
with Benchmark. Why throw the regex engine at a single character when there is lovely little function just for that? =)
In reply to Re: Regex anchor speed ?: Is /^.*X/ faster than /X/ ?
by extremely
in thread Regex anchor speed ?: Is /^.*X/ faster than /X/ ?
by cshirky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |