RafaelBarbosatec / a_star

Package that uses the A * algorithm to find a way to the destination through the barriers.
MIT License
17 stars 10 forks source link

improve perfomance #1

Closed Sproute777 closed 4 months ago

Sproute777 commented 1 year ago

https://github.com/Sproute777/a_star/tree/feature/a_star_for_tbs

change Offset to Point , no needed to translate toDouble and back, no needed to use floor and etc.

RafaelBarbosatec commented 1 year ago

Great! I will appreciate so much a PR with your contribution.

Sproute777 commented 1 year ago

for check

indexWhere useful for check item and using it next;

RafaelBarbosatec commented 1 year ago

Thanks so much for this tips. I will implement this improvements.

Sproute777 commented 10 months ago

resolve and merge with 0.3.1 ready for review added benchmark in example