Fix comment grammar for do_count_chars

This commit is contained in:
Thom Chiovoloni 2022-02-05 11:17:10 -08:00
parent ebbccaf6bf
commit 41f821461f
No known key found for this signature in database
GPG key ID: E2EFD4309E11C8A8

View file

@ -40,7 +40,7 @@ fn do_count_chars(s: &str) -> usize {
//
// - Less than or equal to 255, otherwise we'll overflow bytes in `counts`.
// - A multiple of `UNROLL_INNER`, otherwise our `break` inside the
// `body.chunks(CHUNK_SIZE)` loop.
// `body.chunks(CHUNK_SIZE)` loop is incorrect.
//
// For performance, `CHUNK_SIZE` should be:
// - Relatively cheap to `/` against (so some simple sum of powers of two).