Skip to content
Snippets Groups Projects
Commit 305e5c6b authored by alexstocks's avatar alexstocks
Browse files

Imp: set the init len for a map

parent 97ba9b2c
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ type EventListener struct {
func NewEventListener(client *Client) *EventListener {
return &EventListener{
client: client,
keyMap: make(map[string]struct{}),
keyMap: make(map[string]struct{}, 8),
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment