Add xxHash to Memory for hashCode and arbitrary subsequence.