Skip to content

Commit

Permalink
expand hash bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
believe3301 committed Sep 11, 2012
1 parent d0e09bd commit b1a3338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hash.c
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "lru.h" #include "lru.h"


unsigned int hashpower = 16; unsigned int hashpower = 32;


#define hashsize(n) ((size_t)1<<(n)) #define hashsize(n) ((size_t)1<<(n))
#define hashmask(n) (hashsize(n)-1) #define hashmask(n) (hashsize(n)-1)
Expand Down

0 comments on commit b1a3338

Please sign in to comment.