# Understanding and optimizing compiler time (just a bit)

**URL:** <https://discourse.julialang.org/t/understanding-and-optimizing-compiler-time-just-a-bit/51759>\
**Category:** General Usage\
**Tags:** question\
**Created:** [December 13, 2020, 12:11pm UTC](https://discourse.julialang.org/t/understanding-and-optimizing-compiler-time-just-a-bit/51759 "2020-12-13T12:11:37Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![Elrod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elrod/32/22461_2.png) [@Elrod](https://discourse.julialang.org/u/Elrod)\
**Post date:** [March 25, 2021, 12:15pm UTC](https://discourse.julialang.org/t/understanding-and-optimizing-compiler-time-just-a-bit/51759/21 "2021-03-25T12:15:12Z")

</div>

I’d at least like a version of `MArray` that does not unroll.  
`SArray` itself would be very difficult to make work without unrolling. Even `Base.setindex(::NTuple{N,T}, ::T, ::Int)` is unrolled.

It’s easy to reach extremely problematic levels of unrolling with nested dual numbers.

---

<div class="post-metadata">

**Author:** ![vchuravy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vchuravy/32/8_2.png) [@vchuravy](https://discourse.julialang.org/u/vchuravy)\
**Post date:** [May 14, 2024, 12:30pm UTC](https://discourse.julialang.org/t/understanding-and-optimizing-compiler-time-just-a-bit/51759/22 "2024-05-14T12:30:20Z")

</div>

Split this topic on May 14, 2024, 12:30pm UTC

A post was split to a new topic: [Repeated compilation for same function](https://discourse.julialang.org/t/repeated-compilation-for-same-function/114244)

[Previous page](https://discourse.julialang.org/t/understanding-and-optimizing-compiler-time-just-a-bit/51759.md?page=1)
