Can the code starting from line 409 in the file property.cpp be improved to use the map method for property querying? When adding instance names (U1, U2 ... Un) to the references in the OAS file, the processing of such a large number of properties becomes very slow.
for (index = 0; index < state.property_value_array.count; index++) {
PropertyValue* it = state.property_value_array[index];
if (it->count == value->count &&
memcmp(it->bytes, value->bytes, it->count) == 0)
break;
}
if (index == state.property_value_array.count)
state.property_value_array.append(value);