summaryrefslogtreecommitdiff
path: root/lua_scripts/main.lua
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2008-12-08 16:24:29 +0200
committerLauri Leukkunen <lle@rahina.org>2008-12-11 23:45:01 +0200
commit52f61f715c3f53e0eb52e13400c1b979b8f26ab4 (patch)
tree62e39027c26cd3fece7561e0b759cdd94924909e /lua_scripts/main.lua
parente03ba444bb3c3df5da30d05a9995c800121b4034 (diff)
Performance optimization: Support for rule trees (and restructured "devel" mode)
- Previously, rules were searched from rule lists. Made it possible to build search trees; this improves performance - "devel" mode was restructured to use this possibility. It is faster now.. also included: - A bugfix to "dir" rule checking logic (which was introduced some time ago, but not used before this commit) - Since both the C/Lua and Lua/Lua interfaces were modified, both version numbers were incremented.
Diffstat (limited to 'lua_scripts/main.lua')
-rw-r--r--lua_scripts/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua_scripts/main.lua b/lua_scripts/main.lua
index fedc5fe..4915486 100644
--- a/lua_scripts/main.lua
+++ b/lua_scripts/main.lua
@@ -15,7 +15,7 @@ debug_messages_enabled = sb.debug_messages_enabled()
--
-- NOTE: the corresponding identifier for C is in include/sb2.h,
-- see that file for description about differences
-sb2_lua_c_interface_version = "53,lta-2008-11-10"
+sb2_lua_c_interface_version = "59,lta-2008-12-04"
function do_file(filename)
if (debug_messages_enabled) then