From 6d0e011551c8a701963909c27c22e18e44b0f365 Mon Sep 17 00:00:00 2001 From: Souryo Date: Thu, 5 Oct 2017 21:33:22 -0400 Subject: [PATCH] Debugger: Turn on compiled regex on x64 for syntax highlighting (2+x faster) --- GUI.NET/Debugger/FastColoredTextBox/SyntaxHighlighter.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/GUI.NET/Debugger/FastColoredTextBox/SyntaxHighlighter.cs b/GUI.NET/Debugger/FastColoredTextBox/SyntaxHighlighter.cs index 49bcf3fc..30edb39a 100644 --- a/GUI.NET/Debugger/FastColoredTextBox/SyntaxHighlighter.cs +++ b/GUI.NET/Debugger/FastColoredTextBox/SyntaxHighlighter.cs @@ -115,10 +115,7 @@ namespace FastColoredTextBoxNS { get { - if (platformType == Platform.X86) - return RegexOptions.Compiled; - else - return RegexOptions.None; + return RegexOptions.Compiled; } }