Using Sets and Maps for Faster Applications

Sets and maps are two notoriously simple-looking data structures, that have been standardized in the latest version of ES6. 

In this chapter, we will cover the following topics:

  • Why do we need sets and maps?
  • When and how to use sets and maps
  • ES6 API of sets and maps
  • Use cases
  • A performance comparison