Skip to content

param: Avoid strcmps

Matthias Clasen requested to merge param-speedups into main

Most of the time, we are dealing with static strings, and we can compare them directly and avoid the strcmp.

Note that triggering this optimization requires properties to be marked as G_PARAM_STATIC_NAME.

Merge request reports