lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Luiz Henrique de Figueiredo <> 于2019年8月9日周五 上午9:10写道:
> > Why "function values caching" has been removed from Lua 5.4?
> See

Another benefit is that the proto object is constant now by removing
the internal cache (it only refer other proto objects and string
objects, and it's a invariant).
So we can share the proto pointer to other lua VMs with minimal
modifcation (modify GC).