Event: improve performance accessing global list of events

Signed-off-by: Eduardo Silva <eduardo@monkey.io>