3 ms·
I haven't looked at the source yet so I don't know what the implementation is like, but this makes me wonder if the author has read this article: http://www.chi
by userbinator 11y ago
I haven't looked at the source yet so I don't know what the implementation is like, but this makes me wonder if the author has read this article: http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html
Of course, doing it in portable C is going to be much slower than raw stack-switching style.
- rumcajz 11y agoSure I did. It's a classic.