lua-users home
lua-l archive

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


On Sun, Dec 1, 2013 at 10:45 PM, Sir Pogsalot <sir.pogsalot@gmail.com> wrote:
> Coda:  I'm creating potentially 1000 userdata objects with associated
> private userdata for a *small* server.  An extra table on each would be
> noticeable..

How small are we talking? Like, embedded hardware? A table with a
single entry at index 1 (therefore not containing any hash part) is
pretty compact, so if you're pinching kilobytes it might make sense to
avoid it but if you've got a few megabytes free it's probably not
worth worrying about.

/s/ Adam