Skip to contentSkip to conversation

zstd/decompress: Fix typos in comments

PATCH In review [email protected] 2 participants 2 messages Jul 20, 2023 – Oct 12, 2023 1 message not in the archive Zstd

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 zstd/decompress: Fix typos in comments

Delete duplicate word "the"

---
 lib/zstd/decompress/zstd_decompress_block.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/zstd/decompress/zstd_decompress_block.c +1 -1
index c1913b8e7c89..cd2e9acecd84 100644
@@ -510,7 +510,7 @@ void ZSTD_buildFSETable_body(ZSTD_seqSymbol* dt,
             }
         }
         /* Now we spread those positions across the table.
-         * The benefit of doing it in two stages is that we avoid the the
+         * The benefit of doing it in two stages is that we avoid the
          * variable size inner loop, which caused lots of branch 

misses.
* Now we can run through all the positions without any branch
misses.
* We unroll the loop twice, since that is what emperically
worked best.

#2 lore raw
Quoted 10 lines · On Jul 20, 2023, at 11:34 AM, [email protected] wrote:

!-------------------------------------------------------------------| This Message Is From an External Sender

|-------------------------------------------------------------------!

Delete duplicate word "the"

Please submit this patch upstream to https://github.com/facebook/zstd if you would like to see it merged.

Thanks,
Nick Terrell

Quoted 18 lines

---
lib/zstd/decompress/zstd_decompress_block.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
lib/zstd/decompress/zstd_decompress_block.c +1 -1
index c1913b8e7c89..cd2e9acecd84 100644
@@ -510,7 +510,7 @@ void ZSTD_buildFSETable_body(ZSTD_seqSymbol* dt,
            }
        }
        /* Now we spread those positions across the table.
-         * The benefit of doing it in two stages is that we avoid the the
+         * The benefit of doing it in two stages is that we avoid the
         * variable size inner loop, which caused lots of branch misses.
         * Now we can run through all the positions without any branch misses.
         * We unroll the loop twice, since that is what emperically worked best.