• Matthias Clasen's avatar
    Manipulate bits more efficiently · d7dd6ecc
    Matthias Clasen authored
    The function to translate GtkCssChange enum values to the PARENT
    ones is called very frequently. This patch speeds it up tremendously.
    The callgrind instruction count for this function in the listbox
    demo goes from 108M to 7M.
gtkcsstypes.c 6.01 KB