Re: There are smaller ways to encode a CRC32 table...

2008-02-01 Thread Ian Campbell
On Thu, 2008-01-31 at 23:53 -0500, George Spelvin wrote: > The code to fill it in is smaller than the table itself. > Is it worth complicating things with some INIT code to reduce > the stored image size? (The table is not compressible.) [snip] Thanks but since the code is only used when

Re: There are smaller ways to encode a CRC32 table...

2008-02-01 Thread Ian Campbell
On Thu, 2008-01-31 at 23:53 -0500, George Spelvin wrote: The code to fill it in is smaller than the table itself. Is it worth complicating things with some INIT code to reduce the stored image size? (The table is not compressible.) [snip] Thanks but since the code is only used when building

Re: There are smaller ways to encode a CRC32 table...

2008-01-31 Thread H. Peter Anvin
George Spelvin wrote: The code to fill it in is smaller than the table itself. Is it worth complicating things with some INIT code to reduce the stored image size? (The table is not compressible.) I think it matters not at all either way. -hpa -- To unsubscribe from this list: send

There are smaller ways to encode a CRC32 table...

2008-01-31 Thread George Spelvin
The code to fill it in is smaller than the table itself. Is it worth complicating things with some INIT code to reduce the stored image size? (The table is not compressible.) #define CRC32POLY 0xedb88320 /* CRC32 polynomial, little-endian */ static uint32_t crctab32[256]; void

There are smaller ways to encode a CRC32 table...

2008-01-31 Thread George Spelvin
The code to fill it in is smaller than the table itself. Is it worth complicating things with some INIT code to reduce the stored image size? (The table is not compressible.) #define CRC32POLY 0xedb88320 /* CRC32 polynomial, little-endian */ static uint32_t crctab32[256]; void

Re: There are smaller ways to encode a CRC32 table...

2008-01-31 Thread H. Peter Anvin
George Spelvin wrote: The code to fill it in is smaller than the table itself. Is it worth complicating things with some INIT code to reduce the stored image size? (The table is not compressible.) I think it matters not at all either way. -hpa -- To unsubscribe from this list: send