Performance: Use maps instead of objects.
aikar opened this issue · 0 comments
aikar commented
In numerous places across the project, standard JS objects are used instead of Maps for Map like data structures.
Maps offer better performance over objects-as-maps, and can be done in places like callback storage (ie object.callbacks[id] = cb;) type patterns.