# What is the fastest way of making a vector of dictionaries?

**URL:** <https://discourse.julialang.org/t/what-is-the-fastest-way-of-making-a-vector-of-dictionaries/112363>\
**Category:** General Usage\
**Created:** [March 31, 2024, 11:53pm UTC](https://discourse.julialang.org/t/what-is-the-fastest-way-of-making-a-vector-of-dictionaries/112363 "2024-03-31T23:53:51Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [April 1, 2024, 12:34am UTC](https://discourse.julialang.org/t/what-is-the-fastest-way-of-making-a-vector-of-dictionaries/112363/8 "2024-04-01T00:34:51Z")

</div>

Alas, it would appear the whole idea was a washout.  
Preliminary investigation ([What is faster: sparse vector or a dictionary? - #12 by PetrKryslUCSD](https://discourse.julialang.org/t/what-is-faster-sparse-vector-or-a-dictionary/112341/12)) seemed to indicate that I could get a speedup by using dictionaries, yet in actual application they are much slower than the original approach.

---

_[View the full topic](https://discourse.julialang.org/t/what-is-the-fastest-way-of-making-a-vector-of-dictionaries/112363)._
