DragonFly commits List (threaded) for 2005-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/lib/libc/string strcspn.c
joerg 2005/03/29 11:36:40 PST
DragonFly src repository
Modified files:
lib/libc/string strcspn.c
Log:
New strcspn implementation, which is O(strln(str) + strlen(chars))
and not O(strlen(str) * strlen(chars)) as before.
Submitted-by: Andreas Hauser <andy-dragonfly@xxxxxxxxxxxxxxx>
Revision Changes Path
1.4 +49 -48 src/lib/libc/string/strcspn.c
http://www.dragonflybsd.org/cvsweb/src/lib/libc/string/strcspn.c.diff?r1=1.3&r2=1.4&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]