You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimzed quad tree and cluster algorithm with HashSet instead of ArrayList
ArrayList.remove() is a much more expensive operation than
HashSet.remove(). Neither of these collections need to be an array, as
neither order nor duplicate entries are required. A set collection is
much more optimal with very noticeable speed improvements with large
sets of cluster items.
0 commit comments