From 5e77b994435be4bef66ff596bf931e1fff97a77c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 12 Mar 2016 20:22:11 +0100 Subject: 64-bit chars out-perform 32-bit chars on almost all operations, and on all expensive operations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/internals.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/internals.h') diff --git a/src/internals.h b/src/internals.h index 8a9c379..b4e6039 100644 --- a/src/internals.h +++ b/src/internals.h @@ -5,9 +5,9 @@ #include #include -#define BITS_PER_CHAR 32 -#define LB_BITS_PER_CHAR 5 -#define ZAHL_CHAR_MAX UINT32_MAX +#define BITS_PER_CHAR 64 +#define LB_BITS_PER_CHAR 6 +#define ZAHL_CHAR_MAX UINT64_MAX #define FLOOR_BITS_TO_CHARS(bits) ((bits) >> LB_BITS_PER_CHAR) #define CEILING_BITS_TO_CHARS(bits) (((bits) + (BITS_PER_CHAR - 1)) >> LB_BITS_PER_CHAR) -- cgit v1.2.3-70-g09d2