RustAudio / ogg

Ogg container decoder and encoder written in pure Rust
Other
113 stars 21 forks source link

Investigage slicing by n optimizations #5

Open est31 opened 6 years ago

est31 commented 6 years ago

There is a way to optimize CRC performance by using various super fast slicing by n optimizations (another link and another one)

An implementation using const fn would require const fn to stabilize... without const fn it produces a bit of ugly code sadly :/

I should investigate in finding the sweet spot between additional memory requirements and speedups. Maybe I'll just wait until const fn stabilizes and create a build time configuration flag.