Skip to content

Commit

Permalink
Fix typo in Statistics.cpp (#93)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #93

Reviewed By: macvincent

Differential Revision: D63947136

fbshipit-source-id: 435d1c24aa7573c1f9612e6e0434c911dc850dd6
  • Loading branch information
sdruzkin authored and facebook-github-bot committed Oct 6, 2024
1 parent 45d5528 commit 43054ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dwio/nimble/encodings/Statistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ template <typename T, typename InputType>
void Statistics<T, InputType>::populateBucketCounts() const {
using UnsignedT = typename std::make_unsigned<T>::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<uint64_t, std::numeric_limits<UnsignedT>::digits + 1> bitCounts{};
Expand Down

0 comments on commit 43054ea

Please sign in to comment.