mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-04 19:55:19 +00:00
Added notes about faster crc32() options
This commit is contained in:
parent
47c8dcc968
commit
516f4a0bd5
1 changed files with 6 additions and 0 deletions
|
|
@ -29,6 +29,12 @@
|
|||
/* NOTE: DO NOT CHANGE THIS ALGORITHM
|
||||
There is code that relies on this in the joystick code
|
||||
*/
|
||||
/* If you're looking for a faster CRC32 implementation,
|
||||
the crc32() in zlib is a convenient option.
|
||||
|
||||
This is also Zlib licensed and extremely fast:
|
||||
https://github.com/corsix/fast-crc32
|
||||
*/
|
||||
|
||||
static Uint32 crc32_for_byte(Uint32 r)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue