File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ static void dradix_r( // single-threaded recursive worker
4343 return ;
4444 }
4545
46- for (uint64_t i = 0 , cumSum = 0 ; cumSum < n ; ++ i ) { // cumSum<n better than i<width as may return early
46+ for (uint64_t i = 0 , cumSum = 0 ; cumSum < n ; i ++ ) { // cumSum<n better than i<width as may return early
4747 uint64_t tmp ;
48- if (( tmp = counts [i ]) ) { // don't cumulate through 0s, important below to save a wasteful memset to zero
48+ if (tmp = counts [i ]) { // don't cumulate through 0s, important below to save a wasteful memset to zero
4949 counts [i ] = cumSum ;
5050 cumSum += tmp ;
5151 }
@@ -70,7 +70,7 @@ static void dradix_r( // single-threaded recursive worker
7070 return ;
7171 }
7272
73- for (uint64_t i = 0 , cumSum = 0 ; cumSum < n ; ++ i ) { // again, cumSum<n better than i<width as it can return early
73+ for (uint64_t i = 0 , cumSum = 0 ; cumSum < n ; i ++ ) { // again, cumSum<n better than i<width as it can return early
7474 if (counts [i ] == 0 ) continue ;
7575 uint64_t thisN = counts [i ] - cumSum ; // undo cummulate; i.e. diff
7676 if (thisN <= INSERT_THRESH ) {
You can’t perform that action at this time.
0 commit comments