• Michael Natterer's avatar
    Bug 735810 - performance shrinkage of Paths tool · 4920033c
    Michael Natterer authored
    Use a GQueue instead of a GList in GimpCanvasGroup, so adding items
    takes constant time instead of O(n). Also, removing items was
    traversing the list twice. This should generally speed up tools with
    lots of canvas items.
    
    Also, add a private pointer to the instance struct instead of using a
    GET_PRIVATE() macro.
    4920033c
gimpcanvasgroup.h 2.68 KB