Concept Flow - Why vectorized operations matter
Start with two arrays
Perform element-wise operation
Loop version: iterate each element
Vectorized version: single operation on whole array
Compare speed and simplicity
Conclusion: Vectorized is faster and cleaner
This flow shows starting with arrays, doing element-wise operations by looping vs vectorized, then comparing speed and simplicity.