[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua 5.0 Alpha and api_incr_top
- From: "Joshua Jensen" <jjensen@...>
- Date: Wed, 18 Sep 2002 00:00:09 -0600
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