My Struct Key Was Boxed Two Million Times
A small struct with three int fields silently produced boxing during Dictionary lookups. The cause of the problem and a two-line fix.
~/hasan/posts/
A small struct with three int fields silently produced boxing during Dictionary lookups. The cause of the problem and a two-line fix.