ahshahid commented on PR #54112:
URL: https://github.com/apache/spark/pull/54112#issuecomment-3843031417

   I am also fine with it.. 
   Though  for my learning perspective I would be interested in knowing your 
thoughts on cost of:
   a) Same function of an instance being recursed
   vs
   2) Calling same function of different instance every time in recursion... 
   I know that for the case of a) there is a possibility of OOM or 
StackOverflow error for large depth... Would the same situation occur at same 
number of calls for #2? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to