CRC-32
Call to native function crc32 in zlib
The libary name "z" resolves to /usr/lib/libz.so
on a typical Linux system and /usr/lib/libz.dylib
on Mac OS X, but may need to be changed for other platforms. Types may be platform-dependent as well. As written, the solution has been tested on Mac OS X 10.5.8 and Arch Linux 2016.08.01 x86_64.
Pure Raku
A fairly generic implementation with no regard to execution speed:
Output:
Last updated