mirror of
https://github.com/micropython/micropython.git
synced 2026-01-10 05:57:16 +01:00
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/.
5.7 KiB
5.7 KiB