lua-users home
lua-l archive

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


Hi, list

As per the book named as 《Programming in Lua》,which said that[emphasise mine]:
A nice idiom is {string.byte(s, 1, -1)}, which creates a list with the
codes of all characters in s. (This idiom only works for strings somewhat
shorter than 1 MB. **Lua limits its stack size**, which in turn limits the
maximum number of returns from a function. The default stack limit is
one million entries.

Then, a question raises.
Is there any method or funtion that could danamically resize the size
of Lua's stack?

Best regards
Sunshilong