- 944 名前:デフォルトの名無しさん [2007/02/17(土) 21:49:42 ]
- extern unsigned int crcTable[];
unsigned int updateCRC32( unsigned char *src, unsigned int size, unsigned int crc ) { while ( size-- ) crc = ( crc << 8 ) ^ crcTable[ ( crc >> 24 ) ^ *src++ ]; return crc; } 誰かこれを高速化して下され。 Cの範囲じゃやはりこれが限度っぽい。 後はアセンブラしかなさそうなのです。
|

|