From 9fca0aca6432f14cd68ffdc51703762ee7b575a3 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 28 Jul 2008 00:40:35 +0000 Subject: Reinstate the configuration option on XEngine's use of the lexical compiler. Changes the default in OpenSim.ini.example to "true" to allow for a broader user base for testing. --- OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 6 +----- bin/OpenSim.ini.example | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index 2386c6f..4962023 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs @@ -93,11 +93,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools public bool in_startup = true; public void ReadConfig() { - // Turning on the compiler by default so hardcoding this option to - // true. Once it's clear we won't be going back to the old - // "compiler" this code will be removed completely. - // Mike, 2008.07.28 - //m_UseCompiler = m_scriptEngine.Config.GetBoolean("UseNewCompiler", true); + m_UseCompiler = m_scriptEngine.Config.GetBoolean("UseNewCompiler", true); // Get some config WriteScriptSourceToDebugFile = m_scriptEngine.Config.GetBoolean("WriteScriptSourceToDebugFile", true); diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 6622997..aa5708d 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -617,7 +617,7 @@ AutoSavePeriod = 15 ; Number of minutes between autosave backups [XEngine] ; Use the newer LSL to CS compiler (experimental) -UseNewCompiler = false +UseNewCompiler = true ; How many threads to keep alive even if nothing is happening MinThreads = 2 ; How many threads to start at maximum load -- cgit v1.1