We're always creating ~230 atoms at startup, might as well tune it so we don't hit the realloc path before Dispatch.
Signed-off-by: Adam Jackson <[email protected]> --- dix/atom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dix/atom.c b/dix/atom.c index 7de7fb0..a1e555e 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; -- 2.4.1 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
