News for hackers. Stuff that matters.
Re:Optimizing uint64_t Digit Counting: A Method that Beats L... by nick__m on Tuesday January 07, 2025 @06:47PM (#42629136)
if you prefix your code by two space on every lines it will be more readable, ex:

  JSONIFIER_INLINE int fast_digit_count(uint32_t x)
  {
    static uint64_t table[] = { ... }; 
    return (x + table[int_log2(x)]) >> 32; 
  }

There are no comments on this comment yet.