mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +08:00
in most cases the data is already set and with this if check we can skip a dictionary lookup
This commit is contained in:
parent
f77fa501f1
commit
a75f13e7bd
@ -47,6 +47,7 @@ namespace XNode {
|
||||
return valueType;
|
||||
}
|
||||
set {
|
||||
if (valueType == value) return;
|
||||
valueType = value;
|
||||
if (value != null) _typeQualifiedName = NodeDataCache.GetTypeQualifiedName(value);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user