[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Size optimizations for Lua 5.3 VM on ARM Cortex M4
- From: 云风 Cloud Wu <cloudwu@...>
- Date: Tue, 12 Jun 2018 07:35:49 -0400
>> What are my other options to reduce the size? (...)
> You may get rid off the metatable, it can reduce many codes.
I am curious about this. Has anybody built a Lua derivative without metatables?
Is it feasible? or are metatables too deeply intricated with the Lua VM?
What would be the gain? (executable footprint, performance?)
I try to do some quick and dirty works to remove metatable from lua VM (not test yet) . It can reduce about 5K executable footprint or more . I haven't remove metatable pointer from struct Table and Udata yet, maybe it can reduce a little memory at runtime.
Description: Binary data