Specialize on `copyto!(::Field, ::typeof(broadcasted(identity, ::Field)))`
Open
enhancement
performance
- Dominant language
- Julia
- Stars
- 117
- Forks
- 19
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 41
Description
We can easily specialize on `@. x = y` where `typeof(x) == typeof(y)` to dispatch into the `copyto!(::Field, ::Field)` method, which is ~2x faster. There aren't many cases where we do this, but `Base` and `CUDA` do this-- it's still probably worth it.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.