lua-users home
lua-l archive

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


> Reuben Thomas <rrt@sc3d.org> writes:
> >> It's in 5.1 as well. Just not documented.
> >
> > Wow.
> >
> > No prizes for the weird format, though. What's wrong with a table?
> 
> This way probably saves a good 20-30 bytes of memory... :]

Actually it is more like 500 bytes, if I did the math right (not
counting the extra C code to create the table). Given that very few
people use package.config, and those that use probably only need its
first character, it does not look that cheap to me.

-- Roberto