Skip to content
Commit 39a2be9a authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Optimize Item::indexOfChildItem() cache miss

If mThisItemIndexGuess is out of date then we will search for the item
in both directions from the old guess. Since in most cases the item has
only moved a few rows up or down, searching from the old guess means we
find the item faster than if we would just search from the beginning of
the container.
parent 61bc6a97
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment