Using Map<String, NumberedType> for performance issue