tylertreat/chan — pull request #18 by tylertreat (2014-09-23 02:06:23+00:00)
Title: Circular buffer

Replaces the buffered channel's backing queue to be circular-buffer based instead of linked-list based. This allows the channel buffer to be allocated when it's initialized and removes the mallocs that occur during adds.

Thanks to @je-so.