Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Good point. The profiler tells me that the context switch between coroutines is the most time-consuming part, even if I tried to keep it as light as possible, so I guess the explanation for "only" getting 45x speed improvement rather than 100x is that it is spending a significant part of the time moving register content to and from memory.

Any ideas for how to speed up the context switches would be welcome, of course.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: