-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack overflow issues with many episodes #53
Comments
Further investigation log:
|
After fixing the issue (PR #54) with The small number of episodes non-terminating case (#48) still remains, but I do not think we actually have stack overflows so I am closing this issue. |
For the record: after redesigning the Randomized schedule (and also realizing that our schedule needs to be a |
We seem to be having two kinds of issues with stack overflow:
These two issues seem unrelated. In this issue we are concerned with the second problem. We collect info that might help to resolve it.
iterateUntilM
oriterateWhileM
from the scheduler Monad (and we useRandomized
as a scheduler in all current examples.tailRecM
whose name would indicate tail-recursiveness, but see belowtailRecM
is only stack-safe ifflatMap
is stack safe.flatMap
we are using comes fromLazyList
or more precisely fromIterableOnce
in the standard library. This needs to be checked for stack safety.The text was updated successfully, but these errors were encountered: