optimized data structure used by HeaderContext with hash code-based pre-lookup