[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: constant table overflow
- From: Hartmut Henkel <hartmut_henkel@...>
- Date: Thu, 7 Aug 2008 20:48:30 +0200 (CEST)
Hi,
it is so practical to store data in a transparent way within data files
by Lua tables like
keytable{
words = 625000,
wordsize = 32,
randmax = 4294967296,
key = {
3608578767,
1693861772,
[ ... 624997 values omitted ... ]
3780027093,
}}
and reading them in by dofile() (cf. PiL, 12.1 Data Files), but the
above one gives a "lua: constant table overflow" error. 625000 values
isn't that much nowadays. It would be very nice if Lua could be made to
"think big" in these cases.
Is there some trick to circumvent this limitation (while keeping such a
structure)?
Regards, Hartmut