From 43054ea48b8c0eca403f9f55d32bfca9a26afe10 Mon Sep 17 00:00:00 2001 From: Serge Druzkin Date: Sun, 6 Oct 2024 12:10:46 -0700 Subject: [PATCH] Fix typo in Statistics.cpp (#93) Summary: Pull Request resolved: https://github.com/facebookincubator/nimble/pull/93 Reviewed By: macvincent Differential Revision: D63947136 fbshipit-source-id: 435d1c24aa7573c1f9612e6e0434c911dc850dd6 --- dwio/nimble/encodings/Statistics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwio/nimble/encodings/Statistics.cpp b/dwio/nimble/encodings/Statistics.cpp index cfbe7b2..f4d8e9b 100644 --- a/dwio/nimble/encodings/Statistics.cpp +++ b/dwio/nimble/encodings/Statistics.cpp @@ -135,9 +135,9 @@ template void Statistics::populateBucketCounts() const { using UnsignedT = typename std::make_unsigned::type; // Bucket counts are calculated in two phases. In phase one, we iterate on all - // entries, and (efficiently) count the occurences based on the MSB (most + // entries, and (efficiently) count the occurrences based on the MSB (most // significant bit) of the entry. In phase two, we merge the results of phase - // one, for each conscutive 7 bits. + // one, for each consecutive 7 bits. // See benchmarks in // dwio/nimble/encodings/tests:bucket_benchmark for why this method is used. std::array::digits + 1> bitCounts{};