# Reducing allocations (again)

**URL:** <https://discourse.julialang.org/t/reducing-allocations-again/78408>\
**Category:** New to Julia\
**Created:** [March 24, 2022, 3:42pm UTC](https://discourse.julialang.org/t/reducing-allocations-again/78408 "2022-03-24T15:42:23Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Jeff\_Emanuel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jeff_emanuel/32/15440_2.png) [@Jeff\_Emanuel](https://discourse.julialang.org/u/Jeff_Emanuel)\
**Post date:** [March 24, 2022, 4:04pm UTC](https://discourse.julialang.org/t/reducing-allocations-again/78408/8 "2022-03-24T16:04:22Z")

</div>

SVector usually gets its memory from the stack or even registers instead of the heap

> [@StaticArrays and allocations](https://discourse.julialang.org/t/staticarrays-and-allocations/62123/17):
>
> One example of this is that it will often not store `StaticArrays` anywhere in memory, and just use a few registers instead.

---

_[View the full topic](https://discourse.julialang.org/t/reducing-allocations-again/78408)._
