A
anomalous
Guest
I ran a flood fill this morning recursively and it appeared to run fine in small runs, but in a larger size it caused game maker to stop working. Is recursive still an issue/to be avoided?
The larger run was only about a 20x20 grid, while it ran on about 10x10 I think. Just guessing, it was not huge.
I converted to a stack and it ran fine, but much slower unfortunately. Is recursion bad practice in general?
The larger run was only about a 20x20 grid, while it ran on about 10x10 I think. Just guessing, it was not huge.
I converted to a stack and it ran fine, but much slower unfortunately. Is recursion bad practice in general?