lua-users home
lua-l archive

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


> After running tests on a code base which I had not run for sometime,
> with a Lua 5.3 version, I found that the source string has been moved
> back out of the debug section and into the proto header for the work3
> version[1]. I personally thought the debug section was the most logical
> place for the information, so I am curious about the move back. I would
> be grateful if Roberto or Luiz would kindly share the reason/s for the back.

This scheme in Lua 5.3 was already used in 5.1, for the same reason: to
save the source string once per chunk, instead of once for each function
in the chunk, which is what 5.2 does.