Skip to content

Conversation

@samuelsonric
Copy link
Collaborator

@samuelsonric samuelsonric commented Oct 17, 2025

I have made some functions iterative which were previously recursive. This avoids StackOverflowError errors.

@samuelsonric
Copy link
Collaborator Author

An even better approach for the function _timespacereadwrite_complexity would perhaps be to use this:

https://www.nowozin.net/sebastian/blog/streaming-log-sum-exp-computation.html

@GiggleLiu
Copy link
Member

It looks good. Recurse makes our lives so much easier, I hope Julia can automatically expand the recursive function call to for loops in the future.

@GiggleLiu GiggleLiu merged commit 488c4fe into TensorBFS:master Oct 20, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants