Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Replace recursion by a stack and divide only the necessary dimensions #21
Here is the result from the master branch:
and here the current result from this branch:
Seems that when there are a lot of divisions happening, the advantage of a stack becomes more pronounced.