Original Post
Hi all,
I try to write a A* path finding for a browser game.
It is a 2D 100 x 100 universe where every sector have a 3D 100 x 100 x 100 space and may be connected thru wormholes.
With mysql procedures it takes more than 60 seconds :-(
I also tried it with php but that takes even longer.
Big performance issue of php is to get the cheapest from the open list.
But I have no idea how to analyse mysql procedures.
I attache the mysql version with some example data.
Import & call eu2calc(1); should run it.
C'ya,
Indiana
I try to write a A* path finding for a browser game.
It is a 2D 100 x 100 universe where every sector have a 3D 100 x 100 x 100 space and may be connected thru wormholes.
With mysql procedures it takes more than 60 seconds :-(
I also tried it with php but that takes even longer.
Big performance issue of php is to get the cheapest from the open list.
But I have no idea how to analyse mysql procedures.
I attache the mysql version with some example data.
Import & call eu2calc(1); should run it.
C'ya,
Indiana