ArrayList.contains shows up as a hot spot in pathfinding. Let's try using
an identity hash set to accelerate it (identity hash set uses linear probing, which can give better cache performance than the chaining used by the normal hash set). git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1129 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Reference in New Issue
Block a user