# How is it possible that parallelized code causes fewer allocations?

**URL:** <https://discourse.julialang.org/t/how-is-it-possible-that-parallelized-code-causes-fewer-allocations/124161>\
**Category:** Performance\
**Tags:** parallel, sort, memory-allocation\
**Created:** [December 24, 2024, 10:22pm UTC](https://discourse.julialang.org/t/how-is-it-possible-that-parallelized-code-causes-fewer-allocations/124161 "2024-12-24T22:22:28Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![abraemer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abraemer/32/51403_2.png) [@abraemer](https://discourse.julialang.org/u/abraemer)\
**Post date:** [December 30, 2024, 3:12pm UTC](https://discourse.julialang.org/t/how-is-it-possible-that-parallelized-code-causes-fewer-allocations/124161/19 "2024-12-30T15:12:26Z")

</div>

> [@Leo\_I](#):
>
> I’m attempting to implement sparse matrix types that are not in [SparseArrays.jl](https://juliaregistries.github.io/General/packages/redirect_to_repo/SparseArrays). I’m also interested in parallelizing operations, like `+`, `*`, permuting and slicing columns/rows, etc.

Have you seen Finch.jl?

> [@\[ANN\] Finch.jl: Sparse and Structured Array Fusion](https://discourse.julialang.org/t/ann-finch-jl-sparse-and-structured-array-fusion/123178):
>
> [Finch.jl](https://github.com/finch-tensor/Finch.jl): Sparse and Structured Array Fusion Hi everyone, I’m excited to release Finch 1.0.0! Finch is a Julia-to-Julia compiler for sparse or structured multidimensional arrays. Finch empowers users to write high-level array programs which are transformed behind-the-scenes into fast sparse code. Why [Finch.jl](https://github.com/finch-tensor/Finch.jl)? Finch was built to make sparse and structured array programming easier and more efficient. Finch.jl leverages compiler technology to automatically generate customized, fused sparse kerne…

---

_[View the full topic](https://discourse.julialang.org/t/how-is-it-possible-that-parallelized-code-causes-fewer-allocations/124161)._
