|
From: Duncan S. <bal...@fr...> - 2005-05-19 12:51:32
|
> So, what I'm thinking is to calculate a 32-bit CRC of the code > and store it in the translation; then rerun the crc for the > self-check. Except a CRC is expensive in terms of insns and > cache misses (it requires a table). Mark Adler (co-author > of gzip) had some other magic checksum scheme that gzip uses, which > doesn't require a table and is fast. Maybe use that instead. How do you know how big the code is? D. |