mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 07:00:03 +01: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:
parent
995ff11422
commit
2d2cf9e322
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ SOFTWARE.
|
|||
#include "resource.h"
|
||||
#include "dix.h"
|
||||
|
||||
#define InitialTableSize 100
|
||||
#define InitialTableSize 256
|
||||
|
||||
typedef struct _Node {
|
||||
struct _Node *left, *right;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue