better code
Posted May 30, 2003 4:15 UTC (Fri) by
tjc (guest, #137)
In reply to:
better code by ncm
Parent article:
strlcpy()
I timed both your implementation and Linus' through a 4 billion interation loop, and Linus has you by about 10 to 15 percent. But then he's using memcpy(), so there's an issue with overlapping source and destination strings..
(
Log in to post comments)