Optimize string tag length calculations in regionSwab()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 29 Nov 2011 08:05:44 +0000 (10:05 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 29 Nov 2011 08:38:53 +0000 (10:38 +0200)
commit21d8ceb8662d05a1dccf802382f6d33083bf28e4
treeb671291e0dfe57eb7c19b93cfd50ad00fcf64bed
parent87d9e3c4adac92ff544440dd1239a4ae4fe05bb4
Optimize string tag length calculations in regionSwab()

- Calling memchr() is circa 35% faster on my system than doing the
  same manually, and this in one of the most critical paths rpm has...
lib/header.c