# Create a user-type set

**URL:** <https://discourse.julialang.org/t/create-a-user-type-set/75420>\
**Category:** General Usage\
**Tags:** type, set, hash\
**Created:** [January 29, 2022, 4:06pm UTC](https://discourse.julialang.org/t/create-a-user-type-set/75420 "2022-01-29T16:06:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mauro3](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mauro3/32/292_2.png) [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Post date:** [January 29, 2022, 4:31pm UTC](https://discourse.julialang.org/t/create-a-user-type-set/75420/2 "2022-01-29T16:31:46Z")

</div>

You need to implement `hash` as well as a Set is based on a Dict. See about hashing here [Performance issues when working with dict - #4 by mauro3](https://discourse.julialang.org/t/performance-issues-when-working-with-dict/74565/4)

---

_[View the full topic](https://discourse.julialang.org/t/create-a-user-type-set/75420)._
