lua-users home
lua-l archive

Re: Immutable Tables Library

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


2018年04月25日 0:20 GMT+02:00 Bruce Hill <bruce@bruce-hill.com>:
> Hey everybody, I just released a library that allows you to create immutable
> tables in Lua. The tables are stored compactly and instances are interned
> (but garbage collected), so the immutable tables can be used as table keys.
> I know there's been a lot of talk lately about "arrays with holes", and my
> library supports that.
How does your library compare with pure-Lua read-only tables?
[1] https://www.lua.org/pil/13.4.5.html

AltStyle によって変換されたページ (->オリジナル) /