You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 5, 2018. It is now read-only.
If an unbounded channel is created for sending only one message, 31 of the initially allocated 32 slots won't be used at all.
The situation can be improved by starting with a single-slot node in the beginning and allocating exponentially larger nodes for further messages.
Perhaps we should also avoid allocating anything at all in the channel constructor. This might give us some performance wins in cases where no messages are sent through the channel.
Regarding interaction with #80, only nodes of size 32 should be recycled.