HASHSIZE
code_value = (short*)malloc(HASHSIZE * 2);
prefix_code = (short*)malloc(HASHSIZE * 2);
append_char = (unsigned char*)malloc(HASHSIZE);
for (int q = 0; q < HASHSIZE; q++) {
hashindex = (hashindex + HASHSTEP) % HASHSIZE;
hashindex = (hashindex + HASHSTEP) % HASHSIZE;
#define HASH(index, lastbyte) (((lastbyte << 8) ^ index) % HASHSIZE)