-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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user