-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
task: quickly send task to heap on debug mode #4009
task: quickly send task to heap on debug mode #4009
Conversation
That's certainly one way to approach it. I have some ideas for alternatives, but I'm ok with merging this for now, possibly replacing it with another idea later if it works out. Please note that we have multiple spawn methods. It would also be an idea to have a test that spawns a massive future to catch regressions in how large futures we can handle. |
Good idea! Do you want to include the regression test in this PR? |
Sure. |
Is there a way to get the limit value of the stack? I assume that the one running in the CI/CD is different than the one on my local machine. I can test a few, but perhaps there was a better way. |
The original issue had a link to a function called |
Alternatively, couldn't we just make the majority of the functions the task is passed through be |
According to this comment, that apparently didn't help as much as you would hope. |
@Darksonn huh, that's weird! never mind, then. |
I'm trying to get back to this one, so it can be merged. |
Co-authored-by: Alice Ryhl <alice@ryhl.io>
Ref: #2055
Motivation
Solution