mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01: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 = {
|
||||
sizeof (TransformEntry),
|
||||
transform_entries_cmp,
|
||||
0,
|
||||
G_BSEARCH_ARRAY_ALIGN_POWER2,
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user