[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Proposal: Constant Tables
- From: Gregory Bonik <gregory@...>
- Date: Sat, 13 Aug 2011 23:28:30 +0400
Lars Doelle wrote:
> Problem with a string representation is, that it can grow exponentially,
> when structure sharing comes into play.
This is not true if you use a shallow non-recursive representation (for
example, getting lua_topointer of each subtable and converting pointers
to strings, as in the sketch of table_to_string() function from my
response to your letter).
-- Gregory