'COMPARE' command essentially inserts other drawing as an xref in the model space, then walks through the entities in the model and xref comparing them one by one. Resulting differences are grouped by extents and a polyline ("revision cloud") is generated around them (in the host model).