cksum: add massive performance improvements
Merge pull request #352 from Arcterus/cksum-perf

cksum: add massive performance improvements