Skip to content

Avoid g_type_peek_value_table

Matthias Clasen requested to merge gobject-speedups2 into main

In several places we do paired calls of g_value_init and g_value_unset, both of which peek the value table.

We can avoid half of that cost by remembering the value table, instead of looking it up again.

This branch sits on top of gobject-speedups

Merge request reports