mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 14:34:29 +00:00
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>
This commit is contained in:
@@ -56,7 +56,7 @@ SOFTWARE.
|
||||
#include "resource.h"
|
||||
#include "dix.h"
|
||||
|
||||
#define InitialTableSize 100
|
||||
#define InitialTableSize 256
|
||||
|
||||
typedef struct _Node {
|
||||
struct _Node *left, *right;
|
||||
|
||||
Reference in New Issue
Block a user