libgdx/libgdx — pull request #821 by hneuer (2013-10-10 08:32:33+00:00)
Title: ObjectSet and IntSet: some shortcuts for empty sets

ObjectSet#contains will always perform the maximum amount of work if the set is empty, i.e. it goes through all hashes and checks the stash. This can be shortened if the size is known to be zero.

Also added it to the remove method and IntSet.