mrhooray / crc-rs

Rust implementation of CRC(16, 32, 64) with support of various standards

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does crc-rs have plans to implement hardware acceleration?

RiversJin opened this issue · comments

commented

I have noticed that the current implementation still uses table lookup method. Perhaps introducing acceleration instructions for different platforms could significantly improve the computational speed. I saw in #83 that it is currently waiting for the completion of the std::simd feature before implementing this. Is that correct?

Because I would like to implement Intel's SSE4.2 acceleration for CRC calculations in crc-rs, but I'm unsure if this aligns with crc-rs's future development plans.

Yes, definitely! There were a bunch of recent changes (e.g. #76) specifically aimed at supporting multiple implementations.