Improve LongHash performance.