3 ms·
A case of only so many words in the English language. Easy to fix if we distinguish hardware fast path from the software variant. Software fast paths are worth
by ky3 9y ago
A case of only so many words in the English language. Easy to fix if we distinguish hardware fast path from the software variant.
Software fast paths are worth looking into since context switches are costly to the tune of thousands of CPU cycles [0,1]. Those thousands of CPU instructions going up in smoke could've done quite a lot of useful work.
[0] http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-make-context.html http://blog.tsunanet.net/2010/11/how-long-does-it-take-to-ma...
[1] https://gist.github.com/nelsnelson/3955759 https://gist.github.com/nelsnelson/3955759