Re: Immutable Tables Library
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Immutable Tables Library
- From: Dirk Laurie <dirk.laurie@...>
- Date: 2018年4月25日 10:06:41 +0200
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