You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add a new HashSet template
* Intended to replace RBSet in most cases. * Optimized for iteration speed
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
#ifndef GDSCRIPT_COMPILER_H
|
||||
#define GDSCRIPT_COMPILER_H
|
||||
|
||||
#include "core/templates/rb_set.h"
|
||||
#include "core/templates/hash_set.h"
|
||||
#include "gdscript.h"
|
||||
#include "gdscript_codegen.h"
|
||||
#include "gdscript_function.h"
|
||||
@@ -39,8 +39,8 @@
|
||||
|
||||
class GDScriptCompiler {
|
||||
const GDScriptParser *parser = nullptr;
|
||||
RBSet<GDScript *> parsed_classes;
|
||||
RBSet<GDScript *> parsing_classes;
|
||||
HashSet<GDScript *> parsed_classes;
|
||||
HashSet<GDScript *> parsing_classes;
|
||||
GDScript *main_script = nullptr;
|
||||
|
||||
struct CodeGen {
|
||||
|
||||
Reference in New Issue
Block a user