Indexing by hashcode

Apr 6, 2012 at 11:49 AM

In Interactions.cs, you have a static dictionary that indexes by hashcode. Hashcodes aren't guaranteed to be unique, which is why you should normally index by the object itself (Dictionarys are built to handle hash collisions) - otherwise you'll get some strange behavior in your behaviour very very occasionally.

Apr 6, 2012 at 4:47 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.