# What is faster: sparse vector or a dictionary?

**URL:** <https://discourse.julialang.org/t/what-is-faster-sparse-vector-or-a-dictionary/112341>\
**Category:** General Usage\
**Created:** [March 31, 2024, 3:34am UTC](https://discourse.julialang.org/t/what-is-faster-sparse-vector-or-a-dictionary/112341 "2024-03-31T03:34:03Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [March 31, 2024, 11:44pm UTC](https://discourse.julialang.org/t/what-is-faster-sparse-vector-or-a-dictionary/112341/12 "2024-03-31T23:44:08Z")

</div>

What if I never defined the name (i.e. used `_`)? Edit: That wouldn’t have helped at all.

---

_[View the full topic](https://discourse.julialang.org/t/what-is-faster-sparse-vector-or-a-dictionary/112341)._
