Re: Strong tables in Lua 5.4
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Strong tables in Lua 5.4
- From: Dirk Laurie <dirk.laurie@...>
- Date: 2018年3月27日 08:31:59 +0200
2018年03月27日 5:21 GMT+02:00 Eric Man <meric.au@gmail.com>:
> What was the reason we don't use:
>
> setmetatable(t, { __mode = 'strong' })
It uses too many letters.
At present 'k' means keys are weak, 'v' means values are weak. Just
's' or maybe 'S' (strong feels as it it should be capitalized) would
be enough.