lua-users home
lua-l archive

Re: Tons of reallocs in Lua - why?

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


You may want to try the _very_dirty_hack_ of creating your tables like
this:
 t = {nil,nil,nil,nil,nil,nil,nil,nil,nil,nil}
In this way, the table is created with eight (empty) slots.
Where are token filters when you need them ;-)

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