IntlLangMemoizer
Per-language memoizer that caches instances by type.
Thread-safe via copy-on-write AtomicRef maps. Concurrent readers never block; writers contend via CAS, with the loser rebuilding from the winner's snapshot. The factory passed to withTryGet / getOrCreateFormatter may run more than once under heavy contention (a benign form of wasted work — the cache only ever holds one canonical instance per key, and factories are expected to be pure).
Safe to share across threads: the owning dev.kbroom.fluent.bundle.FluentBundle is immutable by construction, and this cache only grows via copy-on-write.