Just throw a hash map at the problem, ya? CompSci 101.

I gotta say, I'm with you on this one. It doesn't seem like their explanation really tracks, so either it's not the real problem they are facing or they had already decided this was how they were handling it no matter what. Either way, we're losing the xp.