fast compare between object_ids