Hi all,
Suffering from a post Halloween brain freeze here, but I cannot remember which
would be faster:
cfif foo Contains xyz
or
cfif refind(foo,xyz,1,false)
thanks,
larry
--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
http://www.beiresources.org
email:
Those aren't equivalent. REFind does a case-sensitive RegEx search.
find (which you didn't list) does a case-sensitive search. contains
does a case-INsensitive search. I'd expect contains and findNoCase to
be roughly equivalent, with REFindNoCase lagging slightly. Find and
and REFind should be
re* functions are inherently slower than their find* equivalents.
There's a startup cost for the RegEx engine.
--Ben Doom
Barney Boisvert wrote:
Those aren't equivalent. REFind does a case-sensitive RegEx search.
find (which you didn't list) does a case-sensitive search. contains
does a
3 matches
Mail list logo