From 516f4a0bd5d97b402a1b27682d2d5e6e5119e189 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 20 May 2026 17:32:01 -0700 Subject: [PATCH] Added notes about faster crc32() options --- src/stdlib/SDL_crc32.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/stdlib/SDL_crc32.c b/src/stdlib/SDL_crc32.c index 8bad67dd76..a92bf02526 100644 --- a/src/stdlib/SDL_crc32.c +++ b/src/stdlib/SDL_crc32.c @@ -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) {