Various performance improvements.
Add sparse hash/dense hash files.