lua-users home
lua-l archive

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

On Thu, Nov 02, 2006 at 11:01:08PM -0500, Rici Lake wrote:
> >I'd prefer to open the libraries I want, rather than load them all and
> >then go back and remove the ones I don't want, so it's clear what's
> >being loaded.  If I don't want the debug and I/O libraries loaded, it
> >seems better to not load them in the first place.
> Me too. That's why I wasted all those words about customising the 
> luaL_Reg structure.

(Mmm, prickly.)  I don't want more code to load basic libraries; it's five
lines of code right now.  It's just a somewhat more complicated five lines
than seems natural for core library initialization (worse if I was passing
the name parameter).

But the balance might be different if I was loading more libraries.

Glenn Maynard