lua-users home
lua-l archive

Re: constant table overflow

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


> Does each source file get its own constant table?
Each function. So, factor your data into several function calls. E.g.:
local T={}
;(function ()
	-- fill some fields of T
end)()
;(function ()
	-- fill some fields of T
end)()
-- etc...
return T

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