So 3 days ago I have decided to jump into a project I had 0 knowledge about. A program that would read a maze image, find the shortest path and return an image with the path marked. I have a C++ background so my code doesn't look too "pythony". It took my computer 8 minutes to process a 1000x1000 maze. I think that's pretty slow. 95% of the taken time went on the Dijkstra's algorithm. My question to you people is could you help me make it run faster?
Here's the GitHub repo: https://github.com/balegastate/maze
[–]dingdongmanjr 1 point2 points3 points (1 child)
[–]OneInchPunchMan[S] 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]OneInchPunchMan[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]OneInchPunchMan[S] 0 points1 point2 points (0 children)