improved performance and memory usage of Mojo::EventEmitter