-
Notifications
You must be signed in to change notification settings - Fork 227
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Currently, a mux struct contains the following 3 slices:
Lines 93 to 96 in fc56243
| m := &mux{dst: dst, init: init, dead: dead, wireFn: wireFn, | |
| wire: make([]atomic.Value, multiplex), | |
| mu: make([]sync.Mutex, multiplex), | |
| sc: make([]*singleconnect, multiplex), |
They take 24*3 bytes per mux. We should merge them into one to save the struct size.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed