github.com
Replace listeners array with a Map for better performance by markerikson · Pull Request #4476 ·...
Redux has always used an array of listener callbacks internally. However, as we found out with React-Redux, using listeners.findIndex(callback) is bad for performance ( reduxjs/react-redux#1523 , ...