[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: "constant table overflow"
- From: Miles Bader <miles@...>
- Date: Tue, 30 Nov 2010 13:58:44 +0900
Are there good workarounds for this?
I mean, if I have a file like:
local function T(x,y,z)
foooo (x,y,z)
end
T(1,2,3)
T(11,12,13)
T(21,22,23)
...
T(999981,999982,999983)
T(999991,999992,999993)
Lua can't load it, because there are too many constants...
Similarly, it can't load a file like
list = {
{1, 2, 3},
{11, 12, 13},
{21, 22, 23},
...
{999991, 999992, 999993}
}
process (list)
for the same reason.
Isn't this sort of thing supposed to be Lua's forte...?
[I guess I can do it by putting the contents in an _enormous_ string,
which I then parse, but geez... One really shouldn't have to do that
kind of thing!]
Thanks,
-Miles
--
Patience, n. A minor form of despair, disguised as a virtue.