1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-22 17:53:21 +02:00
Commit Graph

5 Commits

Author SHA1 Message Date
jow
ece31e7779 lua: update to v5.1.5, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 17:53:46 +00:00
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