Skip to content
Snippets Groups Projects
Commit b488a4a8 authored by Damien George's avatar Damien George
Browse files

py/objgenerator: Eliminate need for mp_obj_gen_wrap wrapper instances.

For generating functions there is no need to wrap the bytecode function in
a generator wrapper instance.  Instead the type of the bytecode function
can be changed to mp_type_gen_wrap.  This reduces code size and saves a
block of GC heap RAM for each generator.
parent 8f86fbfd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment