# Preallocating Vector of Vectors

**URL:** <https://discourse.julialang.org/t/preallocating-vector-of-vectors/69304>\
**Category:** Performance\
**Tags:** memory-allocation, arrays\
**Created:** [October 6, 2021, 1:22pm UTC](https://discourse.julialang.org/t/preallocating-vector-of-vectors/69304 "2021-10-06T13:22:30Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [October 6, 2021, 8:00pm UTC](https://discourse.julialang.org/t/preallocating-vector-of-vectors/69304/23 "2021-10-06T20:00:39Z")

</div>

I have the suspicion this is variation of our recent discussion [How to do custom allocators](https://discourse.julialang.org/t/how-to-do-custom-allocators/69112). ArrayOfArrays.jl probably uses some custom allocators, too.

---

_[View the full topic](https://discourse.julialang.org/t/preallocating-vector-of-vectors/69304)._
