• Heinrich Lee Yu's avatar
    Improve finding of terminus when shifting items · 6ff3f6e9
    Heinrich Lee Yu authored
    We already have the min / max position from the previous query so we
    just need to find the object with that position instead of querying and
    sorting all objects again and finding the min / max one.
    
    Changelog: performance
    6ff3f6e9
item_context_spec.rb 7.86 KB