Reducing hash and keymap hashtable slots from 65535

to 127 which will reduce memory footprint.

Tested using a few keymaps and With 0x7f there were
max 5 collisions in a slot which is good for
performance. 



git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1804 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Henrik Andersson 2014-05-20 11:24:59 +00:00
parent 2a76ef7b53
commit 35ed85c03b

View File

@ -35,8 +35,8 @@
#include "rdesktop.h"
#include "scancodes.h"
#define KEYMAP_SIZE 0xffff+1
#define KEYMAP_MASK 0xffff
#define KEYMAP_SIZE 0x7f+1
#define KEYMAP_MASK 0x7f
#define KEYMAP_MAX_LINE_LENGTH 80
extern Display *g_display;