Improve A* performance by about 5x (tested on Node 6.7.0 with Benchmark.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
Improve A* performance by about 5x (tested on Node 6.7.0 with Benchmark.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

cytoscape/cytoscape.js,cytoscape/cytoscape.js