diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-10-26 03:01:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-10-26 03:01:12 +0000 |
commit | 6db489f1b0647566b3f1d6d1939b326e93094260 (patch) | |
tree | fb451cabaad47a43671fcd6e1c376cfe8b985f82 /package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch | |
parent | 6a87d6682d61614282fc9e04d1b5e671e51fb8d8 (diff) | |
download | mtk-20170518-6db489f1b0647566b3f1d6d1939b326e93094260.zip mtk-20170518-6db489f1b0647566b3f1d6d1939b326e93094260.tar.gz mtk-20170518-6db489f1b0647566b3f1d6d1939b326e93094260.tar.bz2 |
lua: use float instead of double, reduces the gc data structure size by 4 byte => luci processes use 10% less memory
SVN-Revision: 18159
Diffstat (limited to 'package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch')
-rw-r--r-- | package/lua/patches/010-lua-5.1.3-lnum-full-260308.patch | 2 |
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 32c39f3..f8d8fc7 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 |