lua-users home
lua-l archive

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


I just spent a decent part of the day trying to figure out why Lua 5.0
Alpha changed the behavior of api_incr_top to NOT expand the stack when
it fills up.  The default stack available through api_incr_top has 40
entries.  That is not even close to enough when wandering through tables
recursively loading data.

I copied the code from incr_top into api_incr_top (as it was in Lua
4.1), and my code seemed to work again.  I am unsure of the
repercussions of my making this change, so I wanted to bounce it off
anyone who cared.

In particular, why the shift away from the auto expanding stack?

Thanks,
Joshua Jensen