map_iterate and map_destroy don't use tail recursion, leading to stack frame violations
Hi there, I've run into an issue where the recursion in node_iterate (to walk the map) and node_destroy (to clean up the map afterwards) ends up crashing the context that it's run in due to a stack frame violation.
I have a patch to update the extension so that it uses stack-based iteration to traverse the tree rather than recursion. I'm not certain what state this repository is in - let me know if this isn't appropriate.