Another kernel scanning optimization
authorCryptoManiac <balthazar@yandex.ru>
Tue, 31 Mar 2015 19:25:39 +0000 (22:25 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Wed, 1 Apr 2015 20:31:57 +0000 (23:31 +0300)
commit544c4cb58b22d25f92f2ea5e77f29fee44845ca6
treec64733ca05ff1ddac64225d16ee8011bd704ca9d
parent2372eb3b09c3d1a2df75d6d8b5d712db1b16fa52
Another kernel scanning optimization

There is no sense of continuous hashing of full 28 bytes sequence because first 24 bytes of kernel are static. Pre-calculate midstate from first 24 bytes instead to avoid unnecessary operations.

~33% performance boost
src/kernel.cpp