Implement a dual patch_id() in order to have faster comparison (without using sets operation).
Implement a dual patch_id() in order to have faster comparison (without using sets operation).