# Debugging performance difference between identical arrays

**URL:** <https://discourse.julialang.org/t/debugging-performance-difference-between-identical-arrays/96714>\
**Category:** General Usage\
**Created:** [March 28, 2023, 2:36pm UTC](https://discourse.julialang.org/t/debugging-performance-difference-between-identical-arrays/96714 "2023-03-28T14:36:48Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![f.ij](https://avatars.discourse-cdn.com/v4/letter/f/8491ac/32.png) [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Post date:** [June 21, 2023, 11:39am UTC](https://discourse.julialang.org/t/debugging-performance-difference-between-identical-arrays/96714/10 "2023-06-21T11:39:01Z")

</div>

Thanks for the suggestion. I didn’t know about sizehint!. However, my biggest problem is not with construction of the arrays, but with using them for some algorithm, where I don’t understand how the construction affects the performance. I made a follow up post here:

[Understanding the performance and overhead of a vector of SOA vs a vector of AOS for SIMD and the effect of push!](https://discourse.julialang.org/t/understanding-the-performance-and-overhead-of-a-vector-of-soa-vs-a-vector-of-aos-for-simd-and-the-effect-of-push/100560)

This also goes a bit further than just this topic, but overall is related I think.

---

_[View the full topic](https://discourse.julialang.org/t/debugging-performance-difference-between-identical-arrays/96714)._
