[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1412515757-19689-1-git-send-email-rickard_strandqvist@spectrumdigital.se>
Date: Sun, 5 Oct 2014 15:29:15 +0200
From: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
To: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>,
Grant Likely <grant.likely@...aro.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andi Kleen <ak@...ux.intel.com>,
Dan Carpenter <dan.carpenter@...cle.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] lib: string.c: A speed optimized for strncpy
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists