lua-users home
lua-l archive

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


>    for j = base_index + game_size, base_index + 2*game_size - 1 do
>       game_field[j] = nil
>    end

Anyone that spends time initializing an array with nil's is not
really concerned with performance. If you remove that pointless
loop from the program, the difference disapears.

(This issue is really a simple variation of what was discussed in this
list a short time ago.)

-- Roberto