Skip to content

Commit

Permalink
Staticnested results quite poor compared to pm3 implem #183
Browse files Browse the repository at this point in the history
  • Loading branch information
xianglin1998 committed Nov 15, 2023
1 parent ecf3c06 commit 3b14270
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions software/src/nested_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ typedef struct {
} RecPar;


int compar_int(const void *a, const void *b) {
return (*(uint64_t *)b - * (uint64_t *)a);
inline static int compar_int(const void *a, const void *b) {
if (*(uint64_t *)b == *(uint64_t *)a) return 0;
if (*(uint64_t *)b < * (uint64_t *)a) return 1;
return -1;
}

// Compare countKeys structure
Expand Down

0 comments on commit 3b14270

Please sign in to comment.