RussellHaley / crc32

Fast CRC32

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fast CRC32

This is a mirror of my CRC32 library hosted at https://create.stephan-brumme.com/crc32/

Features in a nutshell:

  • C++ code, single file
  • the fastest algorithms need about 1 CPU cycle per byte
  • endian-aware
  • runs even on Arduino, Raspberry Pi, etc.
  • quite long posting about it on https://create.stephan-brumme.com/crc32/, describing each implemented algorithm in detail

Algorithms:

  • bitwise
  • branch-free bitwise
  • half-byte
  • tableless full-byte
  • Sarwate's original algorithm
  • slicing-by-4
  • slicing-by-8
  • slicing-by-16

See my website https://create.stephan-brumme.com/crc32/ for documentation, code examples and a benchmark.

About

Fast CRC32

License:zlib License


Languages

Language:C++ 96.2%Language:C 2.7%Language:JavaScript 0.8%Language:Makefile 0.3%