# Fast Lookup & Unique Items With Sets

**URL:** <https://metaruby.com/t/fast-lookup-unique-items-with-sets/1774>\
**Category:** Learning Ruby\
**Tags:** ruby\
**Created:** [June 29, 2018, 11:55am UTC](https://metaruby.com/t/fast-lookup-unique-items-with-sets/1774 "2018-06-29T11:55:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesus\_castello](https://metaruby.com/user_avatar/metaruby.com/jesus_castello/32/1062_2.png) [@jesus\_castello](https://metaruby.com/u/jesus_castello)\
**Post date:** [June 29, 2018, 11:55am UTC](https://metaruby.com/t/fast-lookup-unique-items-with-sets/1774/1 "2018-06-29T11:55:12Z")

</div>

In this new Ruby lesson you’ll learn about sets, a powerful data structure to help you collect unique items.

Did you know that a set is implemented as a hash? That’s why it’s so fast!

Watch the full video here to learn more:

[![](https://metaruby.com/uploads/default/original/2X/1/1e7f1697809822c04245af119f5f502c511136ac.jpeg "Fast Lookup & Unique Items With Sets") ](https://www.youtube.com/watch?v=awjlPi67DDg)
