New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve A* performance #1745

Closed
maxkfranz opened this Issue Mar 7, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@maxkfranz
Member

maxkfranz commented Mar 7, 2017

No description provided.

@maxkfranz maxkfranz added this to the 3.1.0 milestone Mar 7, 2017

maxkfranz added a commit that referenced this issue Mar 7, 2017

Improve A* performance by about 5x (tested on Node 6.7.0 with Benchma…
…rk.js, 2015 Macbook Pro 3.1 GHz Intel Core i7 on gal.json) #1745

- Creating no intermediate collections
- Caching .id() calls
- Putting filtering inline in the main loop
- Avoiding .reverse() to build up the path

@maxkfranz maxkfranz closed this Mar 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment