Compare UProperties without using names?

Hey,

I guess no other solution right now for this, just names :slight_smile:
If you open any .uasset file which is Blueprintclass with a simple text editor and you search for propertyname you will find your properties i guess.
That means Engine storing properties as string and when you save them this will be saved to uasset, if you load any uasset will be parsed as uproperty :slight_smile:

So basically whole system i guess searching for fnames, because uproperties are stored as tmaps or somethig like that in memory, but im not sure.
If you want avoid fname compare maybe you can do FName bytesize compare or length compare first and if same size/length found, you can do full compare :slight_smile:

Im not sure this will be faster, but maybe a littlebit because of getting length is faster as compare characters.

But anyway, FNames are simplified strings using much less memory as string and as Matze said before fast enough to work with them :slight_smile:

So I wanted a class to react to changes in editor and I’ve done it using the answer from here. However, is there a faster/better way to compare UProperties, without using name strings, but maybe enums or offsets instead?

Not to my knowledge. But comparing FNames is fast enough