diff options
author | Adam Jackson <ajax@redhat.com> | 2014-12-19 12:57:41 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-07-08 16:41:29 -0400 |
commit | 2d2cf9e322a5ec3ead175edc136cdaeea00ec1b1 (patch) | |
tree | bf19153057503cb196f4e08d25ecab21ef4151c1 /dix | |
parent | 995ff11422eb49160abfe276f471e412b16cab9d (diff) |
atom: Bump initial table size
We're always creating ~230 atoms at startup, might as well tune it so we
don't hit the realloc path before Dispatch.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/atom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/atom.c b/dix/atom.c index 7de7fb05e..a1e555e31 100644 --- a/dix/atom.c +++ b/dix/atom.c @@ -56,7 +56,7 @@ SOFTWARE. #include "resource.h" #include "dix.h" -#define InitialTableSize 100 +#define InitialTableSize 256 typedef struct _Node { struct _Node *left, *right; |