mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] zstd/decompress: Fix typos in comments
       [not found] <20230720153251.41120-1-wangjianli@cdjrlc.com>
@ 2023-07-20 15:34 ` pangzizhen001
  2023-10-12 16:24   ` Nick Terrell
  0 siblings, 1 reply; 2+ messages in thread
From: pangzizhen001 @ 2023-07-20 15:34 UTC (permalink / raw)
  To: terrelln; +Cc: linux-kernel

Delete duplicate word "the"

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] zstd/decompress: Fix typos in comments
  2023-07-20 15:34 ` [PATCH] zstd/decompress: Fix typos in comments pangzizhen001
@ 2023-10-12 16:24   ` Nick Terrell
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Terrell @ 2023-10-12 16:24 UTC (permalink / raw)
  To: pangzizhen001; +Cc: Nick Terrell, Nick Terrell, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1388 bytes --]



> 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.


[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 13443 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-12 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230720153251.41120-1-wangjianli@cdjrlc.com>
2023-07-20 15:34 ` [PATCH] zstd/decompress: Fix typos in comments pangzizhen001
2023-10-12 16:24   ` Nick Terrell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®