LWN.net Logo

"fast AND correct strncpy" not working by itself?

"fast AND correct strncpy" not working by itself?

Posted Aug 24, 2003 16:11 UTC (Sun) by IkeTo (subscriber, #2122)
In reply to: "fast AND correct strncpy" not working by itself? by dmantione
Parent article: [PATCH] fast AND correct strncpy

> It seems the new version is not an improvement in any case.

Interesting, but real. I've tested it, and the old version is consistently faster than the old version, whether count is smaller or larger than the source string length.


(Log in to post comments)

"fast AND correct strncpy" not working by itself?

Posted Aug 25, 2003 2:41 UTC (Mon) by IkeTo (subscriber, #2122) [Link]

I mean, the old version is consistently faster than the new one. It is in the range of 20% faster.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds