From 48b6a9ac2c0f2340cabbc3f5c218d27f5151040b Mon Sep 17 00:00:00 2001 From: x Date: Thu, 5 Jan 2017 18:01:30 +0100 Subject: [PATCH] TurboPFor: Elias fano encode/decode --- eliasfano.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/eliasfano.c b/eliasfano.c index 276fde7..2bf6ef6 100644 --- a/eliasfano.c +++ b/eliasfano.c @@ -54,11 +54,11 @@ static inline unsigned long long blsr(unsigned long long x) { return x & (x - 1) #define EFANODEC efano1dec #define USIZE 32 -#include __FILE__ +#include "eliasfano.c" #undef USIZE /*#define USIZE 16 -#include __FILE__ +#include "eliasfano.c" #undef USIZE*/ #undef EF_INC @@ -71,15 +71,15 @@ static inline unsigned long long blsr(unsigned long long x) { return x & (x - 1) #define EFANODEC efanodec #define USIZE 32 -#include __FILE__ +#include "eliasfano.c" #undef USIZE #define USIZE 64 -#include __FILE__ +#include "eliasfano.c" #undef USIZE /*#define USIZE 16 -#include __FILE__ +#include "eliasfano.c" #undef USIZE*/ #undef BITPACK @@ -99,7 +99,7 @@ static inline unsigned long long blsr(unsigned long long x) { return x & (x - 1) #define EFANODEC efano1dec128v #define USIZE 32 -#include __FILE__ +#include "eliasfano.c" #undef USIZE #undef EF_INC @@ -112,7 +112,7 @@ static inline unsigned long long blsr(unsigned long long x) { return x & (x - 1) #define EFANODEC efanodec128v #define USIZE 32 -#include __FILE__ +#include "eliasfano.c" #undef USIZE #undef VSIZE #endif