# Again on reaching optimal parallel scaling

**URL:** <https://discourse.julialang.org/t/again-on-reaching-optimal-parallel-scaling/73203>\
**Category:** Performance\
**Tags:** parallel\
**Created:** [December 16, 2021, 2:40pm UTC](https://discourse.julialang.org/t/again-on-reaching-optimal-parallel-scaling/73203 "2021-12-16T14:40:57Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![anon28281882](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon28281882](https://discourse.julialang.org/u/anon28281882)\
**Post date:** [December 18, 2021, 2:20am UTC](https://discourse.julialang.org/t/again-on-reaching-optimal-parallel-scaling/73203/22 "2021-12-18T02:20:54Z")

</div>

> [@tkf](#):
>
> All that matters is to get your work done fast and well in the end.

Interesting thread, I will read with interest, thx. 🙂

---

<div class="post-metadata">

**Author:** ![tkf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkf/32/17635_2.png) [@tkf](https://discourse.julialang.org/u/tkf)\
**Post date:** [December 18, 2021, 2:38am UTC](https://discourse.julialang.org/t/again-on-reaching-optimal-parallel-scaling/73203/23 "2021-12-18T02:38:34Z")

</div>

> [@lmiq](#):
>
> > [@tkf](#):
> >
> > or use `@floop`
> 
> I had a hard time trying to use floops in this particular case

Just be clear, this particular comment was referring to the sequential loops written with `@floop`, not the parallel loops. See the `BlockVector` speedup w.r.t `iterate` in [[RFC/ANN] FLoops.jl: fast generic for loops (foldl for humans™)](https://discourse.julialang.org/t/rfc-ann-floops-jl-fast-generic-for-loops-foldl-for-humans/37876) (Note: back then there was no parallel `@floop`). You can also manually write nested loop quite easily in this case anyway and you don’t need it to be generic over collection type. So probably I shouldn’t have shoehorned FLoops advertisement 🙂

[Previous page](https://discourse.julialang.org/t/again-on-reaching-optimal-parallel-scaling/73203.md?page=1)
