summaryrefslogtreecommitdiffstats
path: root/package/lua/patches/300-opcode_performance.patch
Commit message (Collapse)AuthorAgeFilesLines
* lua: add reference counting for strings - this will need A LOT of testing, ↵nbd2009-10-241-16/+16
| | | | | | 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
* package/lua: implement memory limits, scripts can use get_memory_limit() and ↵jow2009-07-091-16/+16
| | | | | | set_memory_limit() to cap the maximum ram usage git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lua: remove an unnecessary check and replace switch (GET_OPCODE(i)) as well ↵nbd2008-08-241-20/+20
| | | | | | (thx, lars) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12381 3c298f89-4303-0410-b956-a3cf2f4a3e73
* improve lua opcode dispatch performance by using computed goto instead of ↵nbd2008-08-241-0/+363
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