mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 08:27:04 +00:00
Drop @Synchronized from add/reset/size: SeenIds is now documented as single-writer (not thread-safe). Callers dedup across concurrent relay producers by funneling events into one consumer that owns the instance — the one-consumer ingest pattern used elsewhere — which keeps a single global set, stays lock-free, and lets resize run without coordination. With the JVM-only @Synchronized gone the class is pure common Kotlin (LongArray + Hex.readLong), so it moves from the jvmAndroid source set to commonMain and is now available on every target. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015YEbdqCRPkszkGCoi89RMt