You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there's a hot function that calls new on very few interned values (let's say two!), then the threads start blocking each other because intern_id uses a Mutex sharded by value.
We could consider using a RwLock but that comes at the cost that the cold path (a new value or a value that hasn't been interned yet) becomes more expensive.