-Fixes to how hashing happened, now StringName and NodePath use default hasher, this was leading to some severe slowdown in scenarios

-Fixes to some duplication scenarios for instanced scenes
This commit is contained in:
Juan Linietsky
2018-07-02 15:08:35 -03:00
parent ecee0c92ff
commit 2dc738ce27
14 changed files with 94 additions and 52 deletions

View File

@ -31,6 +31,7 @@
#ifndef OBJECT_H
#define OBJECT_H
#include "hash_map.h"
#include "list.h"
#include "map.h"
#include "os/rw_lock.h"
@ -451,7 +452,7 @@ private:
Signal() { lock = 0; }
};
HashMap<StringName, Signal, StringNameHasher> signal_map;
HashMap<StringName, Signal> signal_map;
List<Connection> connections;
#ifdef DEBUG_ENABLED
SafeRefCount _lock_index;