FLAG_NOT_CHANGED constant

int const FLAG_NOT_CHANGED

While reading the flags below, keep in mind that when multiple items move in a list, Myers's may pick any of them as the anchor item and consider that one NOT_CHANGED while picking others as additions and removals. This is completely fine as we later detect all moves.

Below, when an item is mentioned to stay in the same 'location', it means we won't dispatch a move/add/remove for it, it DOES NOT mean the item is still in the same position.

Implementation

// item stayed the same.
static const int FLAG_NOT_CHANGED = 1;