micropython/micropython — pull request #641 by pfalcon (2014-05-31 00:44:01+00:00)
Title: vm: Don't unconditionally allocate state on stack, do that only if needed.

This makes sure that only as much stack allocated as actually used, reducing
stack usage for each Python function call.