lua-users home
lua-l archive

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


>> It does, though, assume t->alimit is a power of two.  Is that
>> guaranteed?

> It does not assume that t->alimit is a power of two.  That would be
> wrong.  It only assumes that nextPowerOfTwo(t->alimit) is the real
> array length.

Hm.

You're right.  I spoke too fast.  Thank you; I will have to remember
that little trick.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse@rodents-montreal.org
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B