[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: lvm.c query
- From: Gavin Wraith <gavin@...>
- Date: Sun, 20 Aug 2006 15:08:32 +0100
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 (firstname.lastname@example.org)
Home page: http://www.wra1th.plus.com/