Perf optimization on unique value check
This optim provides a x4 perf improvement on a 100.000 lines import