Skip to content
  • Damien George's avatar
    py: Replace stream_p with *stream_p in mp_obj_type_t. · 27e735fd
    Damien George authored
    This is to reduce ROM usage.  stream_p is used in file and socket types
    only (at the moment), so seems a good idea to make the protocol
    functions a pointer instead of the actual structure.
    
    It saves 308 bytes of ROM in the stmhal/ port, 928 in unix/.
    27e735fd