Getters or dispatching events

what is more memory efficient?