port fast crc code to go from c

no longer rely on c code
i bet you could go even faster with unsafe indexes into the crc_table. i'd define a function. it'll get inlined anyway.