News for hackers. Stuff that matters.
Re:Diving into the world of hash tables by deckarep on Sunday June 25, 2017 @09:39PM (#14633416)
Yes, while a set can be derived or mimicked if you have a hashtable for example, I'm specifically referring to all the common set operations you'd typically want to have.

Using a map/hashtable as a set is just the tip of the iceberg.

In many cases you don't need a key and a value and you can get rid of a lot of loopy and complicated code if you had a simple set to utilize with its useful operations.

There are no comments on this comment yet.