caaff940a2
These are internal names and can be safely renamed without affecting user code. push_sorted() and push_head() are merged into a single push() method, which is already how the C version is implemented. pop_head() is simply renamed to pop(). The changes are: - q.push_sorted(task, t) -> q.push(task, t) - q.push_head(task) -> q.push(task) - q.pop_head() -> q.pop() The shorter names and removal of push_head() leads to a code size reduction of between 40 and 64 bytes on bare-metal targets. Signed-off-by: Damien George <damien@micropython.org> |
||
---|---|---|
.. | ||
axtls-include | ||
btstack | ||
lwip-include | ||
nimble | ||
uasyncio | ||
webrepl | ||
extmod.cmake | ||
extmod.mk | ||
machine_bitstream.c | ||
machine_bitstream.h | ||
machine_i2c.c | ||
machine_i2c.h | ||
machine_mem.c | ||
machine_mem.h | ||
machine_pinbase.c | ||
machine_pinbase.h | ||
machine_pulse.c | ||
machine_pulse.h | ||
machine_pwm.c | ||
machine_pwm.h | ||
machine_signal.c | ||
machine_signal.h | ||
machine_spi.c | ||
machine_spi.h | ||
misc.h | ||
modbluetooth.c | ||
modbluetooth.h | ||
modbtree.c | ||
modframebuf.c | ||
modlwip.c | ||
modnetwork.c | ||
modnetwork.h | ||
modonewire.c | ||
moduasyncio.c | ||
modubinascii.c | ||
moducryptolib.c | ||
moductypes.c | ||
moduhashlib.c | ||
moduheapq.c | ||
modujson.c | ||
moduos.c | ||
moduplatform.c | ||
moduplatform.h | ||
modurandom.c | ||
modure.c | ||
moduselect.c | ||
modusocket.c | ||
modussl_axtls.c | ||
modussl_mbedtls.c | ||
modutimeq.c | ||
moduwebsocket.c | ||
moduwebsocket.h | ||
moduzlib.c | ||
modwebrepl.c | ||
mpbthci.c | ||
mpbthci.h | ||
network_cyw43.c | ||
network_cyw43.h | ||
network_ninaw10.c | ||
uos_dupterm.c | ||
utime_mphal.c | ||
utime_mphal.h | ||
vfs.c | ||
vfs.h | ||
vfs_blockdev.c | ||
vfs_fat.c | ||
vfs_fat.h | ||
vfs_fat_diskio.c | ||
vfs_fat_file.c | ||
vfs_lfs.c | ||
vfs_lfs.h | ||
vfs_lfsx.c | ||
vfs_lfsx_file.c | ||
vfs_posix.c | ||
vfs_posix.h | ||
vfs_posix_file.c | ||
vfs_reader.c | ||
virtpin.c | ||
virtpin.h |