lua-users home
lua-l archive

Re: how to load a very large table with more than 2^18 literal strings?

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


On Fri, Sep 11, 2009 at 7:23 PM, Norman Ramsey <nr@cs.tufts.edu> wrote:
> P.S. Am I thinking that the table literal
>
>  { name = 'Ramsey', age = 47 }
>
> contains *four* constants that count against the limit?
Yes. luac will tell you the exact number of contents.
-- 
-Patrick Donnelly
"Let all men know thee, but no man know thee thoroughly: Men freely
ford that see the shallows."
- Benjamin Franklin

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