aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/memcmplen.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2014-07-25liblzma: Add lzma_memcmplen() for fast memory comparison.Lasse Collin1-0/+170
This commit just adds the function. Its uses will be in separate commits. This hasn't been tested much yet and it's perhaps a bit early to commit it but if there are bugs they should get found quite quickly. Thanks to Jun I Jin from Intel for help and for pointing out that string comparison needs to be optimized in liblzma.