Lua optimizations

More in the style of how I write production Lua "apps." Slight bump in results on m1.large.