peter-toth commented on PR #13310:
URL: https://github.com/apache/datafusion/pull/13310#issuecomment-2465253939

   > Wondering if the compiler or runtime can optimize the code now knowing the 
method is recursive.
   > 
   > LIke https://www.scala-lang.org/api/3.1.1/scala/annotation/tailrec.html
   
   Yeah, Scala provides tailrec optimization, but as far as I know it is 
missing from Rust.
   
   The new crates and the "recursive" annotation just provide dynamic stack 
grow to avoid stack overflow. It doesn't mean that the functions will be tail 
call eliminated.


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to