1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Improve GDScript Editor and Improve latency

Improvements:
- GDScript Highlighter is faster by 25% as keys are smaller (hashes instead of strings)
- Removes message queue from _apply_settings_change to allow resize to work correctly
- Some performance fixes are pending still

Note: this resolves the code editor behaving badly when resizing in debug builds
This commit is contained in:
Gordon MacPherson
2021-08-14 07:42:18 +01:00
committed by Rémi Verschelde
parent 91960b7b81
commit 1881b3adc5
4 changed files with 7 additions and 16 deletions

View File

@@ -47,8 +47,8 @@ private:
Vector<ColorRegion> color_regions;
Map<int, int> color_region_cache;
Dictionary keywords;
Dictionary member_keywords;
HashMap<StringName, Color> keywords;
HashMap<StringName, Color> member_keywords;
enum Type {
NONE,