[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [NoW] Deja vu
- From: 云风 Cloud Wu <cloudwu@...>
- Date: Mon, 12 Aug 2019 09:59:02 +0800
Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> 于2019年8月9日周五 上午9:10写道:
>
> > Why "function values caching" has been removed from Lua 5.4?
>
> See https://github.com/lua/lua/commit/e8c779736f3029df353038352c14c8ab63728811
>
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).
--
http://blog.codingnow.com