Optimisation of edition of datasets