Reviewed-by: kvn, iveresov, iignatyev
Use SSE4.2 and AVX2 instructions for encodeArray intrinsic. Reviewed-by: roland