Several performance improvements, mainly in loading and instancing scenes and resources.
A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
This commit is contained in:
@@ -158,7 +158,7 @@ void StringName::operator=(const StringName& p_name) {
|
||||
_data = p_name._data;
|
||||
}
|
||||
}
|
||||
|
||||
/* was inlined
|
||||
StringName::operator String() const {
|
||||
|
||||
if (_data)
|
||||
@@ -166,7 +166,7 @@ StringName::operator String() const {
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
*/
|
||||
StringName::StringName(const StringName& p_name) {
|
||||
|
||||
ERR_FAIL_COND(!configured);
|
||||
|
||||
Reference in New Issue
Block a user