crcspeed
crcspeed copied to clipboard
crc16speed.c
static uint16_t crc16_table_little[8][256] = {{0}};
static uint16_t crc16_table_big[8][256] = {{0}};
Я бы хранил уже посчитанные
static constexpr uint16_t crc16_table_little[][256]{
{...},
};
static constexpr uint16_t crc16_table_big[][256]{
{...},
};