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.
0.6.0-stable
Melanie Thielker 2008-07-28 00:40:35 +00:00
parent 9e58ce60c0
commit 9fca0aca64
2 changed files with 2 additions and 6 deletions

View File

@ -93,11 +93,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
public bool in_startup = true; public bool in_startup = true;
public void ReadConfig() public void ReadConfig()
{ {
// Turning on the compiler by default so hardcoding this option to m_UseCompiler = m_scriptEngine.Config.GetBoolean("UseNewCompiler", true);
// 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);
// Get some config // Get some config
WriteScriptSourceToDebugFile = m_scriptEngine.Config.GetBoolean("WriteScriptSourceToDebugFile", true); WriteScriptSourceToDebugFile = m_scriptEngine.Config.GetBoolean("WriteScriptSourceToDebugFile", true);

View File

@ -617,7 +617,7 @@ AutoSavePeriod = 15 ; Number of minutes between autosave backups
[XEngine] [XEngine]
; Use the newer LSL to CS compiler (experimental) ; Use the newer LSL to CS compiler (experimental)
UseNewCompiler = false UseNewCompiler = true
; How many threads to keep alive even if nothing is happening ; How many threads to keep alive even if nothing is happening
MinThreads = 2 MinThreads = 2
; How many threads to start at maximum load ; How many threads to start at maximum load