From 8c8d9d8b52dd2306f12cacf4970a3728a166c377 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Sat, 7 Dec 2019 11:51:54 +1100 Subject: [PATCH] Fix "noticable" typo --- doc/benchmarks.md | 2 +- doc/note/initialization.md | 4 ++-- std/adler32/README.md | 2 +- std/deflate/decode_deflate.wuffs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/benchmarks.md b/doc/benchmarks.md index 81063bb6..6ceb8187 100644 --- a/doc/benchmarks.md +++ b/doc/benchmarks.md @@ -65,7 +65,7 @@ or ## Clang versus GCC -On some of the benchmarks below, clang performs noticably worse (e.g. 1.3x +On some of the benchmarks below, clang performs noticeably worse (e.g. 1.3x slower) than gcc, on the same C code. A relatively simple reproduction was filed as [LLVM bug 35567](https://bugs.llvm.org/show_bug.cgi?id=35567). diff --git a/doc/note/initialization.md b/doc/note/initialization.md index a1f613bf..a2388f1b 100644 --- a/doc/note/initialization.md +++ b/doc/note/initialization.md @@ -69,8 +69,8 @@ For those paranoid about security, leave this flag bit unset, so that `WUFFS_INITIALIZE__ALREADY_ZEROED` flag bit is also set). Setting this flag bit (avoiding a fixed-size cost) gives a small absolute -improvement on micro-benchmarks, mostly noticable (in relative terms) only when -the actual work to do (the input) is also small. Look for +improvement on micro-benchmarks, mostly noticeable (in relative terms) only +when the actual work to do (the input) is also small. Look for `WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED` in the [benchmarks](/doc/benchmarks.md) for performance numbers. diff --git a/std/adler32/README.md b/std/adler32/README.md index e92d01c9..e1c919f9 100644 --- a/std/adler32/README.md +++ b/std/adler32/README.md @@ -84,7 +84,7 @@ program](https://play.golang.org/p/SkPVp0tBnDl) shows: 7 0x00070001 0x9D6CDF7E "\x00\x00\x00\x00\x00\x00\x00" Adler-32 is a simpler algorithm than CRC-32. At the time Adler-32 was invented, -it had noticably higher throughput. With modern SIMD implementations, that +it had noticeably higher throughput. With modern SIMD implementations, that performance difference has largely disappeared. diff --git a/std/deflate/decode_deflate.wuffs b/std/deflate/decode_deflate.wuffs index 44a82dc3..e77c615c 100644 --- a/std/deflate/decode_deflate.wuffs +++ b/std/deflate/decode_deflate.wuffs @@ -229,7 +229,7 @@ pri func decoder.decode_blocks?(dst: base.io_writer, src: base.io_reader) { } else if type == 1 { status = this.init_fixed_huffman!() // TODO: "if status.is_error()" is probably more idiomatic, but for - // some mysterious, idiosyncratic reason, performs noticably worse + // some mysterious, idiosyncratic reason, performs noticeably worse // for gcc (but not for clang). // // See git commit 3bf9573 "Work around strange status.is_error