I agree. I’m curious though, why map was able to vectorize correctly while loops weren’t?
Seif_Shebl
22
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Ominous type instability | 10 | 1313 | August 20, 2022 | |
| How to maintain performance despite type instability when you know the type? | 5 | 980 | August 3, 2017 | |
| What is the best way to re-use a temporary vector | 16 | 469 | October 22, 2024 | |
| Type stability on Arrays of Arrays in nested for loops? | 16 | 966 | February 20, 2021 | |
| Performance issue due to function as an argument | 16 | 1009 | September 22, 2023 |