fubark / cyber

Fast and concurrent scripting.
https://cyberscript.dev
MIT License
1.21k stars 43 forks source link

Count Seems off in Playground Example for Fiber #8

Closed zachcp closed 1 year ago

zachcp commented 1 year ago

Shouldn't count == 28 here ?

image

fubark commented 1 year ago

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.