lkml.org 
[lkml]   [2014]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH] lib: string.c: A speed optimized for strncpy
Date
This variant is in my tests about 7-10% faster, and I also think
it is perhaps even clearer code than before.

I assume that more will do the testing, I do not know if we should do tests
on different types of hardware as well, my test was on a new Intel I7.

Rickard Strandqvist (1):
lib: string.c: A speed optimized for strncpy

lib/string.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

--
1.7.10.4



\
 
 \ /
  Last update: 2014-10-05 16:01    [W:0.069 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site