mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
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:
parent
2b64f73b04
commit
95047562d7
62 changed files with 475 additions and 294 deletions
|
|
@ -2556,9 +2556,9 @@ void GDScriptLanguage::init() {
|
|||
|
||||
//populate native classes
|
||||
|
||||
List<String> class_list;
|
||||
List<StringName> class_list;
|
||||
ObjectTypeDB::get_type_list(&class_list);
|
||||
for(List<String>::Element *E=class_list.front();E;E=E->next()) {
|
||||
for(List<StringName>::Element *E=class_list.front();E;E=E->next()) {
|
||||
|
||||
StringName n = E->get();
|
||||
String s = String(n);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue