develooper Front page | perl.perl5.porters | Postings from December 2011

Perl_instr() vs. strstr()

Thread Next
From:
Karl Williamson
Date:
December 22, 2011 14:21
Subject:
Perl_instr() vs. strstr()
Message ID:
4EF3AD75.8010801@khwilliamson.com
These two functions look indistinguishable to me.  Is strstr() not 
supported on some platforms?  It is part of C89.  It seems to me that 
it's likely the libc version is faster, and so wouldn't it be better to 
use that instead?

(This dates from Perl 2.0)

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About