lua-users home
lua-l archive

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


On Wed, Dec 15, 2010 at 4:51 PM, Keith Matthews
<keith.l.matthews@gmail.com> wrote:
> This change is easy to make in ltablib.c, and it opens up very
> intersting possibilities such as table virtualization, or table
> operations on any userdata that has __len, __index and __newindex
> metamethods. You could make a userdata that wraps a C array, and use
> table.sort(), table.concat() or table.unpack() on it.

That _is_ an entertaining possibility. What would be the performance
implications?

steve d.