lua-users home
lua-l archive

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

> > BTW: You'll get better performance if you don't fill the rd[]
> > array backwards. It degrades into a hash table in this case.
> That probably also applies to plain Lua.

It degrades into a hash while it is being filled, but when it finishes
I think the result is always a pure array. (I proved this some time
ago, but I am not sure the algorithm is still exactly the same.)

-- Roberto