Compare arrays

Improve comparaisons in arrays