mirror of
https://github.com/brl/mutter.git
synced 2025-01-27 03:49:03 +00:00
Robert Bragg
117ef6baff
matrix-stack: use GArray instead of GSList for stack
In some micro-benchmarks testing journal throughput the list manipulation jumps pretty high in the profile. This replaces the GSList usage with a GArray instead which is effectively a grow only allocation that means we avoid ongoing allocations while manipulating the stack mid-scene.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%