# Optimization: - **Author**: - **Predecessor**: variant_baseline.cpp - **File(s)**: variants/variant_.cpp - **Status**: ## What this changes <2-3 sentences. What did you change and what is the high-level idea? No full code paste here - just a description.> ## Code (relevant snippet) ```cpp // the part that differs from the predecessor ``` ## Benchmark Conditions: min of runs, N_ITER=1000, -O3 -march=native -flto. ### x86 **Machine**: ``` ``` **Frequency**: | N | W(n) [Flops] | T(n) [Cycles] | Performance [Flops/Cycle] | Diff vs Predecessor | | ---- | ------------ | ------------- | ------------------------- | ------------------- | | 50 | | | | | | 100 | | | | | | 200 | | | | | | 500 | | | | | | 1000 | | | | | ### ARM (Apple) **Machine**: ``` ``` **Frequency**: | N | W(n) [Flops] | T(n) [Cycles] | Performance [Flops/Cycle] | Diff vs Predecessor | | ---- | ------------ | ------------- | ------------------------- | ------------------- | | 50 | | | | | | 100 | | | | | | 200 | | | | | | 500 | | | | | | 1000 | | | | | ## Analysis ## Takeaway