basho/bitcask — pull request #81 by evanmcc (2013-03-08 22:54:40+00:00)
Title: Bitcask startup performance enhancements.

Folding over the hintfile is what takes the bulk of the time in bitcask startup. Prior to this patch, it was done twice, once as a crc check and once to insert all of the keys in the hintfile into the keydir. This patch changes the CRC check to a standalone scan, which is much quicker, and restructures the fold to be a bit faster.