lkml.org 
[lkml]   [2023]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] zstd/decompress: Fix typos in comments
Date


> On Jul 20, 2023, at 11:34 AM, pangzizhen001@208suo.com 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

> Signed-off-by: Zizhen Pang <pangzizhen001@208suo.com>
> ---
> lib/zstd/decompress/zstd_decompress_block.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/zstd/decompress/zstd_decompress_block.c b/lib/zstd/decompress/zstd_decompress_block.c
> index c1913b8e7c89..cd2e9acecd84 100644
> --- a/lib/zstd/decompress/zstd_decompress_block.c
> +++ b/lib/zstd/decompress/zstd_decompress_block.c
> @@ -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.

[unhandled content-type:application/ms-tnef]
\
 
 \ /
  Last update: 2023-10-12 18:24    [W:0.047 / U:0.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site