On 30/06/2016 16:12, Markus Armbruster wrote: > Implementing a stack as "big enough" array can be wasteful. > Implementing it as dynamically allocated list is differently wasteful. > Saving several mallocs and frees can be worth "wasting" a few pages of > memory for a short time.
Most usage of QmpInputVisitor at startup comes from object_property_set_qobject, which only sets small scalar objects. The stack is entirely unused in this case. Paolo