lua-users home
lua-l archive

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


In message <20060820104857.A18833@lua.tecgraf.puc-rio.br> you wrote:

> > would it not be more efficient to lift the evaluation
> > of ttistable(t) out of the loop?
> 
> ttistable is a simple macro:
> 
> lobject.h:#define ttistable(o)  (ttype(o) == LUA_TTABLE)

Also, I had not noticed that t is updated inside the loop.
I had missed something! I will read a bit harder next time.

-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/