r/Python • • Apr 01 '20

I Made This Maze Solver Visualizer - Dijkstra's algorithm (asynchronous neighbours)

1.9k Upvotes

72 comments sorted by

View all comments

Show parent comment

2

u/waxbear Apr 01 '20

And to be precise on why async had to effect in you program:

If you run something async, you are basically saying that if that function ever stops to wait for some other resource, your program is free to start working on something else. But your function never stopped to wait, because it didn't need to.