summaryrefslogtreecommitdiffstats
path: root/package/lua/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-26 03:01:12 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-10-26 03:01:12 +0000
commit9529774bd5fb4104afcdf75a95ca9d89cbc5e83b (patch)
tree73909ca8a30d1239fb38e09413ca097bd2c72ca0 /package/lua/patches
parent27e64f8be82f24af74d2de53eb5afdce002d4d19 (diff)
lua: use float instead of double, reduces the gc data structure size by 4 byte => luci processes use 10% less memory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18159 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/lua/patches')
-rw-r--r--package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch b/package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch
index 32c39f3b7..f8d8fc7f1 100644
--- a/package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch
+++ b/package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch
@@ -1887,7 +1887,7 @@ Index: lua-5.1.4/src/lnum_config.h
+** Default number modes
+*/
+#if (!defined LNUM_DOUBLE) && (!defined LNUM_FLOAT) && (!defined LNUM_LDOUBLE)
-+# define LNUM_DOUBLE
++# define LNUM_FLOAT
+#endif
+#if (!defined LNUM_INT16) && (!defined LNUM_INT32) && (!defined LNUM_INT64)
+# define LNUM_INT32