-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iter: Help the compiler vectorize memory reads
Reading from &[T; C2] is way faster than reading from [T], provided that the access is vectorized. The generics are getting a bit unwieldy, but the performance boost is worth it (2-3x speedup on my MacBook 14" M1 Pro). Signed-off-by: Christopher N. Hesse <[email protected]>
- Loading branch information
Showing
1 changed file
with
13 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters