gabebw / most-used

Find your most-used shell commands
BSD 3-Clause "New" or "Revised" License
12 stars 0 forks source link

Use a real data structure instead of a list of tuples #15

Closed gabebw closed 7 years ago

gabebw commented 7 years ago

Specifically, this list of tuples in findMostUsed.

HashMap (in particular, alter) from unordered-containers seems like the way to go. Not sure if I want Lazy or Strict, though.