1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-05 17:33:16 +03:00
Commit Graph

4 Commits

Author SHA1 Message Date
nbd
e4be8b3bf5 lua: add reference counting for strings - this will need A LOT of testing, but it should finally fix the excessive memory usage problems triggered by luci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-24 22:19:13 +00:00
jow
ff39a6c6f5 package/lua: implement memory limits, scripts can use get_memory_limit() and set_memory_limit() to cap the maximum ram usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-09 17:45:23 +00:00
nbd
7196f4da13 lua: remove an unnecessary check and replace switch (GET_OPCODE(i)) as well (thx, lars)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 14:28:04 +00:00
nbd
2bfa71f5d7 improve lua opcode dispatch performance by using computed goto instead of switch/case - improves performance by about 10% in a simple loop test
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 13:37:56 +00:00