Improve stpncpy performance by using __strnlen/memcpy/memset rather than a
commit48497aba8ec7887dd505e37aa95ab52348fa8cb2
authorWilco Dijkstra <wdijkstr@arm.com>
Wed, 19 Aug 2015 15:28:21 +0000 (19 16:28 +0100)
committerWilco Dijkstra <wdijkstr@arm.com>
Wed, 19 Aug 2015 15:32:12 +0000 (19 16:32 +0100)
treede869b831f1e1ab25f697b57929c1a5af255b431
parenta08e80d1143f6b0386d5bc8cc7b8ed576091dbf3
Improve stpncpy performance by using __strnlen/memcpy/memset rather than a
byte loop. Performance on bench-stpncpy is ~2x faster on average.
ChangeLog
string/stpncpy.c