kopia lustrzana https://github.com/micropython/micropython
8a0ee5a5c0
Previously the desired output type was specified. Now make the type part of the function name. Because this function is used in a few places this saves code size due to smaller call-site. This makes `mp_obj_new_str_type_from_vstr` a private function of objstr.c (which is almost the only place where the output type isn't a compile-time constant). This saves ~140 bytes on PYBV11. Signed-off-by: Jim Mussared <jim.mussared@gmail.com> |
||
---|---|---|
.. | ||
modmachine.c | ||
modnetwork.c | ||
modnetwork.h | ||
moduhashlib.c | ||
moduos.c | ||
moduos.h | ||
modusocket.c | ||
modusocket.h | ||
modussl.c | ||
modutime.c | ||
modwipy.c | ||
modwlan.c | ||
modwlan.h | ||
pybadc.c | ||
pybadc.h | ||
pybflash.c | ||
pybflash.h | ||
pybi2c.c | ||
pybi2c.h | ||
pybpin.c | ||
pybpin.h | ||
pybrtc.c | ||
pybrtc.h | ||
pybsd.c | ||
pybsd.h | ||
pybsleep.c | ||
pybsleep.h | ||
pybspi.c | ||
pybspi.h | ||
pybtimer.c | ||
pybtimer.h | ||
pybuart.c | ||
pybuart.h | ||
pybwdt.c | ||
pybwdt.h |