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 | 1363 | August 20, 2022 | |
| How to maintain performance despite type instability when you know the type? | 5 | 999 | August 3, 2017 | |
| What is the best way to re-use a temporary vector | 16 | 540 | October 22, 2024 | |
| Type stability on Arrays of Arrays in nested for loops? | 16 | 1010 | February 20, 2021 | |
| Performance issue due to function as an argument | 16 | 1075 | September 22, 2023 |