发布

  • [OPIK-6960] [FE] Fix hash collision in annotation queue per-user item shuffle (#7113)

    frostbyte_neo 发布于 2026-06-16 13:46:45 +00:00

    The Java-style hashCode (hash * 31 + char) used for per-user item
    shuffling has ~33% collision rate on UUID strings — the long shared
    prefix dominates the hash state, washing out the per-user seed.

    Replace with MurmurHash2-style mixing (Math.imul + xor shifts),
    reducing collision rate to ~0.1%.

    下载附件