Hacker News new | ask | show | jobs
by ori_b 4647 days ago
Cooperative context switching within a process is just a register swap. It's about the same cost as a function call.