Results 1 to 1 of 1
Thread: A* Pathfinder
- 02-17-2010, 07:37 AM #1Senior Member
- Join Date
- Feb 2010
- Ljubljana, Slovenia
- Rep Power
I've gone through this tutorial:
I've written up the code, it works, but it's very slow, for example, I'm trying to find a path on a simple 8x8 grid, and it takes about 8 seconds to do so, iterating over 3000 times. Now, I just want to know, is A* generally slow and not to be taken as more than an example, or did I do something wrong? If it should be faster, I'll post my code so someone could tell me if I'm doing unnecesarry steps along the way.
EDIT: I tinkered with the code a bit, and found the culprit.
Last edited by m00nchile; 02-17-2010 at 08:25 AM.
- By andrew in forum EclipseReplies: 1Last Post: 03-25-2009, 07:32 AM