[Zlib-devel] crc32 big/little endian

Joakim Tjernlund joakim.tjernlund at transmode.se
Wed Apr 21 09:49:57 EDT 2010


Why are both little and big endian crc32 versions created?
Surely it should be enough to detect endian at compile
time and only compile the one needed for that particular CPU?

Now one wastes 16 KB in tables and the duplicated code that goes with it.

      Jocke





More information about the Zlib-devel mailing list