mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-17 18:04:13 +02:00
[gobject] Grow gvalue transform array exponentially
Bug 589176 - Grow gvalue transform array exponentially Reduces about 180 realloc calls during g_type_init().
This commit is contained in:
parent
88261680f5
commit
e7488ca857
@ -134,7 +134,7 @@ static GBSearchArray *transform_array = NULL;
|
|||||||
static GBSearchConfig transform_bconfig = {
|
static GBSearchConfig transform_bconfig = {
|
||||||
sizeof (TransformEntry),
|
sizeof (TransformEntry),
|
||||||
transform_entries_cmp,
|
transform_entries_cmp,
|
||||||
0,
|
G_BSEARCH_ARRAY_ALIGN_POWER2,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user