[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Computed goto optimization of vanilla Lua
- From: Phil Leblanc <philanc@...>
- Date: Fri, 5 Feb 2016 19:37:57 -0500
tested with gcc 4.7.1 on a x86_64 with a crypto hash test (sha3-512 in
pure Lua, lots of arithmetic and bit operations in tight loops).
With -O2: no significant difference
With -Os: approx 8% speedup for Lua with computed goto (average 83.5
sec vs. 90.5 sec on several iterations) -- stripped executable was
approx 6KB larger.