-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Encoders can benefit a lot from extensions such as AVX, SSE4.1, FMA, and more. Just compiling for these features can yield 5% performance improvements, and potentially more if code is optimized for it.
However, most users compile generic binaries for broad compatibility, which leaves "free" performance on the table. Multi-versioning (compiling multiple versions of the one functions for different instruction sets and selecting the best one at runtime) can reclaim this performance at the cost of increased binary size and compile time. Crates such as multiversion
make this easy and safe.
Investigate the costs and benefits of multi-versioning
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request