3 ms·
There is a 23-page pager[0] in the repo that explains what this does. From my basic understanding, they are trying to implement a non-blocking queue for the cha
by kyrra 10y ago
There is a 23-page pager[0] in the repo that explains what this does. From my basic understanding, they are trying to implement a non-blocking queue for the channels. It looks like it could deliver a 2x-4x performance boost when there are lots of GoRoutines running, and more modest 1x-2x boost when GoRoutine count = GOMAXPROCS.
[0] https://github.com/google/fchan-go/blob/master/writeup/writeup.pdf https://github.com/google/fchan-go/blob/master/writeup/write...