summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/sb2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sb2.h b/include/sb2.h
index f3274b1..32ad22f 100644
--- a/include/sb2.h
+++ b/include/sb2.h
@@ -37,10 +37,12 @@ struct lua_instance {
* - sbox_translate_path(): as above
* * Differences between "35,lta-2008-10-01" and "53,lta-2008-11-10"
* - added new functions sb.get_forced_mapmode() and sb.get_session_perm()
+ * * Differences between "59,lta-2008-12-04" and "53,lta-2008-11-10"
+ * - part of rule selection logic is now implemented in C.
*
* NOTE: the corresponding identifier for Lua is in lua_scripts/main.lua
*/
-#define SB2_LUA_C_INTERFACE_VERSION "53,lta-2008-11-10"
+#define SB2_LUA_C_INTERFACE_VERSION "59,lta-2008-12-04"
struct lua_instance *get_lua(void);