lua-users home
lua-l archive

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


On 15/09/2014 22.09, Coda Highland wrote:
I assume this is to minimize the amount of state stored in the closure.

I just noticed that (i.e. that only referenced upvalues are stored) while doing some check to see exactly what was visible to whom in a program of mime. In retrospect it's obvious, to avoid filling every function with all file-local variables as upvalues.

--
  Enrico