Talk:AStarHelper

From Unify Community Wiki
Jump to: navigation, search

Just a note to anyone using this aStar implementation, there are a few points in the primary script which throw off memory for garbage collection each frame. Two methods to improve the overhead for your implementation:

- cache the Lists (openset, closedset) and Dictionaries (g/h/f_score)

- rework the foreach loop iterating the List in favor of a standard for-int loop

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox