Skip to content

Commit fce3cb0

Browse files
committed
README.md - Tweaked the detection vs correction section a bit
1 parent 15e587c commit fce3cb0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,16 +378,16 @@ There are a couple implementation tricks worth noting in ramcrc32bd:
378378

379379
And some caveats:
380380

381-
1. For _any_ error-correcting code, attempting to _correct_ errors
382-
reduces the code's ability to _detect_ errors.
381+
1. For any error-correcting code, attempting to **correct** errors
382+
reduces the code's ability to **detect** errors.
383383

384384
In the HD=4 example, we assumed 1 bit-error. If we were wrong and
385385
there were actually 3 bit-errors, we would have "corrected" to the
386386
wrong codeword.
387387

388-
In practice this isn't _that_ big of a problem. 1 bit-errors are
389-
usually much more common than 3 bit-errors, and at 4 bit-errors you're
390-
going to have a collision anyways.
388+
In practice this isn't that big of a problem. Fewer bit-errors are
389+
usually more common, and correcting bit-errors is usually more useful.
390+
At 4 bit-errors you're going to end up with full collisions anyways.
391391

392392
Still, it's good to be aware of this tradeoff.
393393

0 commit comments

Comments
 (0)