Skip to content
  • Benjamin Otte's avatar
    listlistmodel: Add a cache · e010cd24
    Benjamin Otte authored
    Cache the last looked up item and use it for looking up the next item if
    it's closest. This massively speeds up iteration over the model, because
    each call to get_item() will be adjacent to the previous one.
    
    Improves performance of the inspector quite a bit.
    e010cd24