CrcParams is very large and needs some time to initialize. If we can compute it at compile time and store it as a const variable, that would save some space and time and possibly enable some const propagations.
Besides, I think checksum_with_params should take &CrcParams rather than CrcParams.
CrcParamsis very large and needs some time to initialize. If we can compute it at compile time and store it as a const variable, that would save some space and time and possibly enable some const propagations.Besides, I think
checksum_with_paramsshould take&CrcParamsrather thanCrcParams.