diff options
-rw-r--r-- | script/config.lua | 1 | ||||
-rw-r--r-- | script/vm/getGlobals.lua | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/script/config.lua b/script/config.lua index fb5db837..107f874b 100644 --- a/script/config.lua +++ b/script/config.lua @@ -147,7 +147,6 @@ local ConfigTemplate = { }, intelliSense = { searchDepth = {0, Integer}, - fastGlobal = {true, Boolean}, }, } diff --git a/script/vm/getGlobals.lua b/script/vm/getGlobals.lua index b64a293b..0ce325c7 100644 --- a/script/vm/getGlobals.lua +++ b/script/vm/getGlobals.lua @@ -146,15 +146,6 @@ local function fastGetAnyGlobalSets() end function vm.getGlobals(key) - --if key == '*' and config.config.intelliSense.fastGlobal then - -- local cache = vm.getCache('fastGetAnyGlobals')[key] - -- if cache ~= nil then - -- return cache - -- end - -- cache = fastGetAnyGlobals() - -- vm.getCache('fastGetAnyGlobals')[key] = cache - -- return cache - --end local cache = vm.getCache('getGlobals')[key] if cache ~= nil then return cache @@ -165,15 +156,6 @@ function vm.getGlobals(key) end function vm.getGlobalSets(key) - --if key == '*' and config.config.intelliSense.fastGlobal then - -- local cache = vm.getCache('fastGetAnyGlobalSets')[key] - -- if cache ~= nil then - -- return cache - -- end - -- cache = fastGetAnyGlobalSets() - -- vm.getCache('fastGetAnyGlobalSets')[key] = cache - -- return cache - --end local cache = vm.getCache('getGlobalSets')[key] if cache ~= nil then return cache |