From 26f303481384cea953d4377ffb5e238f39bffe20 Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Tue, 4 Jun 2024 23:35:33 -0500 Subject: [PATCH] Fixed outdated numbers in crc32c comment This number was an incorrect result caued by overallocating the small-table array (64-ints vs 64-bytes), and has unfortunately crept into too many places... --- lfs_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs_util.c b/lfs_util.c index 4b1a1f23..4793c01b 100644 --- a/lfs_util.c +++ b/lfs_util.c @@ -93,7 +93,7 @@ uint32_t lfs_crc32c(uint32_t crc, const void *buffer, size_t size) { // // code stack ins ld/st branch // naive 48 12 221192 4099 36865 - // small-table 316 12 49160 12291 4097 + // small-table 124 12 49160 12291 4097 // big-table 1064 8 32776 8195 4097 // #if defined(LFS_SMALLER_CRC32C)