improve lua opcode dispatch performance by using computed goto instead of switch...
authorFelix Fietkau <nbd@openwrt.org>
Sun, 24 Aug 2008 13:37:56 +0000 (13:37 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 24 Aug 2008 13:37:56 +0000 (13:37 +0000)
commit62333dabe1991261a58fe127844f1f152d242d7f
treebb4610fea3ffc4264d0afd5fb5199ad0aeb8bf53
parent86ab7cb9dee0a4c8553ad452dac3a406b04e841b
improve lua opcode dispatch performance by using computed goto instead of switch/case - improves performance by about 10% in a simple loop test

SVN-Revision: 12378
package/lua/patches/300-opcode_performance.patch [new file with mode: 0644]