Skip to content

Comments

vello_common: Deduplicate some calculations#1466

Merged
tomcur merged 2 commits intolinebender:mainfrom
tomcur:push-zukrpmplukmu
Feb 24, 2026
Merged

vello_common: Deduplicate some calculations#1466
tomcur merged 2 commits intolinebender:mainfrom
tomcur:push-zukrpmplukmu

Conversation

@tomcur
Copy link
Member

@tomcur tomcur commented Feb 21, 2026

Use fearless_simd::SimdFloat to be generic over the exact SIMD float vector type, add docs, simplify some naming.

No effect on benches (as expected).

flatten/Ghostscript_Tiger
                        time:   [180.00 µs 180.16 µs 180.34 µs]
                        change: [-0.0671% +0.0992% +0.2713%] (p = 0.28 > 0.05)
                        No change in performance detected.
Found 10 outliers among 100 measurements (10.00%)
  7 (7.00%) high mild
  3 (3.00%) high severe
flatten/paris-30k       time:   [9.1750 ms 9.1992 ms 9.2262 ms]
                        change: [-0.2555% +0.0402% +0.3712%] (p = 0.81 > 0.05)
                        No change in performance detected.
Found 5 outliers among 100 measurements (5.00%)
  3 (3.00%) high mild
  2 (2.00%) high severe

Use `fearless_simd::SimdFloat` to be generic over the exact SIMD float
vector type, add docs, simplify some naming.

No effect on benches (as expected).

```
flatten/Ghostscript_Tiger
                        time:   [180.00 µs 180.16 µs 180.34 µs]
                        change: [-0.0671% +0.0992% +0.2713%] (p = 0.28 > 0.05)
                        No change in performance detected.
Found 10 outliers among 100 measurements (10.00%)
  7 (7.00%) high mild
  3 (3.00%) high severe
flatten/paris-30k       time:   [9.1750 ms 9.1992 ms 9.2262 ms]
                        change: [-0.2555% +0.0402% +0.3712%] (p = 0.81 > 0.05)
                        No change in performance detected.
Found 5 outliers among 100 measurements (5.00%)
  3 (3.00%) high mild
  2 (2.00%) high severe
```
@tomcur tomcur added this pull request to the merge queue Feb 24, 2026
Merged via the queue into linebender:main with commit 83035f1 Feb 24, 2026
17 checks passed
@tomcur tomcur deleted the push-zukrpmplukmu branch February 24, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants