Asymptotic optimality of estimators in non-regular cases