Skip to content
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

Count Seems off in Playground Example for Fiber #8

Closed
zachcp opened this issue Jan 24, 2023 · 1 comment
Closed

Count Seems off in Playground Example for Fiber #8

zachcp opened this issue Jan 24, 2023 · 1 comment

Comments

@zachcp
Copy link
Sponsor

zachcp commented Jan 24, 2023

Shouldn't count == 28 here ?

image

@fubark
Copy link
Owner

fubark commented Jan 24, 2023

It is counting every recursive call to fib. It's trying to demonstrate that you can coyield from any call depth. I will update that comment to be more clear about that.

@fubark fubark closed this as completed Jan 26, 2023
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

No branches or pull requests

2 participants