Skip to content

list-item: Use notify_by_pspec instead of by name

This is a hot path when scrolling a ColumnView, and g_param_spec_pool_lookup () was taking a measurable part in this hot path (7%). Instead, notify using pspecs to avoid the name lookup.

Related: #3334 (closed)

The hot path goes from ~45% to ~42% after this change, still not quite solid 144 FPS random scrolling but getting close.

cc @otte

Merge request reports