[OptionsResolver] Performance improvement